https://github.com/inightjar/crispy-spoon
Meals rater includes meal name, meal stars number, meals avarage rate, login, register, showing already loged-in users. Customers can rate each meal.
https://github.com/inightjar/crispy-spoon
api django restframework
Last synced: about 1 year ago
JSON representation
Meals rater includes meal name, meal stars number, meals avarage rate, login, register, showing already loged-in users. Customers can rate each meal.
- Host: GitHub
- URL: https://github.com/inightjar/crispy-spoon
- Owner: iNightjar
- Created: 2022-10-14T19:02:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-22T04:36:37.000Z (over 3 years ago)
- Last Synced: 2025-01-12T05:08:17.527Z (over 1 year ago)
- Topics: api, django, restframework
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Crispy-Spoon
Meals Rater Using Django Rest framework APIs
### Business Requirments
- Meals List Screen Includes Following Informations:
```
Meal Name - Meal Stars Number - Meals Avarage Rate
Login - Register - Showing Already loged-In Users
```
- Popup Error If Users Already Rated The Meals
- Add Rate Screen, Stars From 1 To 5 Only
- Save Rates To Database
### Technical Development
Following Features
- Models
- Meal
- Stars
- User
- Validate If Users Already Rated Their Meals
- Validation The Rate Between 1 To 5
- CRUD API For Meals [localhost:8000/api/meals/](http://127.0.0.1:8000/api/meals)
```
Should Return Avarage Rating And Number Of Rating Along With The Meal Information
```
- CRUD API for Stars [localhost:8000/api/stars/](http://127.0.0.1:8000/api/stars)
```
No One Should Be Able To Use This Crud For Rating
```
- Rate API [localhost:8000/api/meals/meal_pk/rate_meal](http://127.0.0.1:8000/api/meals/meal_pk/rate_meal)
```
Create And Update API
```
- Token Authentications
- Login And Register API
- Token Request API
## [Deployment To Heroku](https://github.com/iNightjar/Crispy-Spoon/blob/master/HerokuDeployment.txt)