Skip to content

YuriiBerezan/RestAPI

Repository files navigation

RestAPI

Service for experiments with REST API written in Python (backend_app)

Requirements installation

pip install -r backend_app/requirements.txt

Running the application from source

Debug mode:

cd backend_app
uvicorn src.main:app --reload

Runnning as a service (not waiting in the console):

cd backend_app
uvicorn src.main:app &

Tests execution

pytest -v

Running the application from dockerfile

cd backend_app
docker build -t backend_app .
docker run -p 8000:80  backend_app
cd frontend_app
docker build -t frontend_app .
docker run -p 3000:5173  frontend_app

Running whole configuration from the Docker Compose

Pre-requisites

apt install make

Starting all services

make up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 5