Skip to content

tsar123/web-api

Repository files navigation

Web API

Deploy for localhost Python 3.11

  1. Create virtualenv
python -m venv [path to venv folder]
  1. Activate virtualenv
.\venv\Scripts\activate (for Windows)
source env/bin/activate (for Linux)
  1. Install requirements
pip install -r requirements.txt
  1. Run fastAPI server
uvicorn main:app --reload

Deploy for server Python 3.11

  1. Run Docker container
docker-compose up fast -d --build

About

mini educational project

Resources

Stars

Watchers

Forks