Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nxy7/littlelemon
https://github.com/nxy7/littlelemon
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nxy7/littlelemon
- Owner: nxy7
- Created: 2023-07-20T12:21:44.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-20T12:24:03.000Z (over 1 year ago)
- Last Synced: 2024-12-23T00:54:42.059Z (about 1 month ago)
- Language: Python
- Size: 5.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
If you have docker installed you can spin up MySQL DB with `docker compose up`.
Dependencies of the project are managed by Nix and pipenv.To start the project install python tooling or use Nix:
```bash
nix develop
cd workspace/littlelemon
pipenv shell
pipenv install
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
```After running the project feel free to check endpoints created in lab assignments like:
- http://localhost:8000/api/categories/ GET
- http://localhost:8000/api/categories/ POST (as manager)
- http://localhost:8000/api/cart/menu-items/ GET
- http://localhost:8000/api/menu-items/?per_page=10 GET