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

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.

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)