Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bfukumori/daily-diet-api

API for daily diet app
https://github.com/bfukumori/daily-diet-api

Last synced: about 1 month ago
JSON representation

API for daily diet app

Awesome Lists containing this project

README

        

# Daily Diet API

API for register meals and manage diet.

## RFs

- [x] Should be able to create an user
- [x] Should be able to identify an user
- [x] Should be able to register a meal
- [x] Should be able to update a meal
- [x] Should be able to delete a meal
- [x] Should be able to list all user's meals
- [x] Should be able to list a single user's meal
- [x] Should be able to get user's metrics

## RNs

- [x] Meals should have a name, description,date, time and a flag indicating if it's in diet or not.
- [x] User's metrics should contain total meals, total meals in diet, total meals out diet, best streak in diet
- [x] An user can only CRUD his own meals.

## RNFs

- [x] User's password should be encrypted
- [x] The data should be persisted in a SQLite DB
- [x] The user should be authenticated with a JWT
- [x] List should be paginated with 10 items per page