Giter VIP home page Giter VIP logo

news-management-app's Introduction

News Management Application

This is a readme file for the News Management Application, which is a web-based application developed using Spring framework, Spring Data, Spring MVC, JWT, Flyway, PostgreSQL and Docker. The application is designed to store, process, and display news articles. It includes various models such as User, Role, News, NewsTopic, and NewsSource.

Table of Contents

  • Features
  • Installation
  • Endpoints
  • Swagger API Documentation

Features

  • User registration and authentication using JSON Web Tokens (JWT)
  • Storing news articles with details such as title, content, author, publication date, etc.
  • Associating news articles with topics and sources for better categorization and filtering
  • CRUD operations for managing news articles, topics, and sources
  • Pagination for efficient data retrieval
  • Database migration and version control using Flyway
  • Utilizing PostgreSQL as the relational database management system
  • Containerization using Docker for easy deployment and scalability
  • Swagger API documentation for exploring and testing the API endpoints

Installation

To install and set up the application, follow these steps:

git clone https://github.com/Ernar2002/strongteam-news
docker compose up --build

The application will be accessible at http://localhost:8080 in your web browser.

Endpoints

  • /api/v1/auth - authentication endpoints
  • /api/v1/news - News article management endpoints (GET, POST, PUT, DELETE)
  • /api/v1/sources - News source management endpoints (GET, POST, PUT, DELETE)
  • /api/v1/topics - News topic management endpoints (GET, POST, PUT, DELETE)

Swagger API Documentation

To access the Swagger UI page and explore the API documentation, please follow the steps below:

  1. Make sure your application is running locally on your machine.

  2. Open your preferred web browser.

  3. In the address bar, enter the following URL: http://localhost:8080/swagger-ui.html. Press Enter or Return to navigate to the Swagger UI page.

  4. Once the Swagger UI page loads, you will see a search bar and a list of available endpoints.

  5. To explore a specific API endpoint, follow these steps:

  6. Locate the input field labeled "Explore".

  7. Enter /v1/api-docs into the input field. This value represents the endpoint you want to explore.

As you type, the Swagger UI page will automatically filter and display matching endpoints.

news-management-app's People

Contributors

ernar2002 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.