- /api/restaurants (GET|POST)
- /api/restaurants/{id} (GET|PUT|DELETE)
- /api/restaurants?city={city_name} (GET)
SQLite
*Dependencies: docker / docker-compose
cd restaurant-api
docker compose up #-d *Dependencies: python3 / pip
python -m venv env
source env/bin/activate.fish
pip install -r requiriments.txt
python #python cli
from app import db
db.create_all()
exit() #exit python cli
python app.py