This is a trial app.
A recipe app that has create, read, update, and delete funtionality
This project was created with:
- python
- django
- django_rest_framework
- htmx
- alpine.js
- sqlite
git clone https://github.com/yohi441/trial-app.git
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python manage.py runserver
email: [email protected]
password: adminpassword
email: [email protected]
password: testpassword
METHOD | URI | SEMANTICS |
---|---|---|
GET | /api/ | Retrieve list of URL of recipe list |
GET | /api/recipes/all/ | Retrieve list of all recipes of all users |
GET | /api/recipe/detail/{id}/ | Retrieve a single recipe |
GET | /api/recipe/list/ | Retrieve a list of recipes of the user must provide basic authentication |
POST | /api/recipe/list/ | Create a new recipe of the user must provide basic authentication |
GET | /api/recipe/{id}/ | Retrieve a single recipe of the user must provide basic authentication |
PUT | /api/recipe/{id}/ | Update an existing recipe of the user must provide basic authentication |
DELETE | /api/recipe/{id}/ | Delete an existing recipe of the user must provide basic authentication |