Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

allitov/news-api

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News API

API for news portals and services.

The application provides the ability to save and edit news and comments on them, storing user data, as well as creating news categories.

Running locally

Clone the repository and move to the working directory

git clone https://github.com/allitov/news-api.git
cd news-api

Run the application in default mode

docker-compose --file ./docker/docker-compose-default.yml up -d
Stop the application
docker-compose --project-name="news-api" down

Run the application in demonstration mode (contains entries in the database)

docker-compose --file ./docker/docker-compose-demo.yml up -d
Stop the application
docker-compose --project-name="news-api-demo" down

Run application environment only

docker-compose --file ./docker/docker-compose-env.yml up -d

Stop the environment

docker-compose --project-name="news-api-env" down

Documentation

To familiarize yourself with the application's API and see example queries, you can refer to the interactive Swagger documentation (available only after launching the application).

Morty Proxy This is a proxified and sanitized view of the page, visit original site.