https://github.com/yeukfei02/pizza-order-api
pizza-order-api
https://github.com/yeukfei02/pizza-order-api
fastapi postgres python
Last synced: 3 months ago
JSON representation
pizza-order-api
- Host: GitHub
- URL: https://github.com/yeukfei02/pizza-order-api
- Owner: yeukfei02
- License: mit
- Created: 2021-03-30T00:47:23.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T20:22:25.000Z (over 2 years ago)
- Last Synced: 2025-01-11T01:27:23.791Z (over 1 year ago)
- Topics: fastapi, postgres, python
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pizza-order-api
pizza-order-api
documentation:
## Requirement
- install python(3.8)
- install pip3
- install postgres
## Testing and run
```zsh
// use requirements.txt
$ pip3 install -r requirements.txt
// run api
$ uvicorn app:app --reload
```
## Docker
```zsh
// build images and start container in one line
docker-compose up -d --build
// go inside container
docker exec -it /bin/bash
// check container logs
docker logs
// remove and stop container
docker-compose down
```
open localhost:8000