An open API service indexing awesome lists of open source software.

https://github.com/tsar123/web-api

mini educational project
https://github.com/tsar123/web-api

Last synced: 3 months ago
JSON representation

mini educational project

Awesome Lists containing this project

README

        

Web API

# Deploy for localhost ![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)

1. Create virtualenv
```
python -m venv [path to venv folder]
```

2. Activate virtualenv
```
.\venv\Scripts\activate (for Windows)
source env/bin/activate (for Linux)
```

3. Install requirements
```
pip install -r requirements.txt
```

4. Run fastAPI server
```
uvicorn main:app --reload
```

# Deploy for server ![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)

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