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

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

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