Skip to content

vanbrandaos/restaurant-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

restaurant-api

resources:

*http://localhost:5000

  • /api/restaurants (GET|POST)
  • /api/restaurants/{id} (GET|PUT|DELETE)
  • /api/restaurants?city={city_name} (GET)

database

SQLite

Run

Docker

*Dependencies: docker / docker-compose

cd restaurant-api
docker compose up #-d 

Local:

*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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors