Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bfukumori/daily-diet-api
- Owner: bfukumori
- Created: 2023-10-21T21:34:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-15T02:15:24.000Z (about 1 year ago)
- Last Synced: 2023-11-15T03:25:59.614Z (about 1 year ago)
- Language: TypeScript
- Size: 215 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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