API for register meals and manage diet.
- Should be able to create an user
- Should be able to identify an user
- Should be able to register a meal
- Should be able to update a meal
- Should be able to delete a meal
- Should be able to list all user's meals
- Should be able to list a single user's meal
- Should be able to get user's metrics
- Meals should have a name, description,date, time and a flag indicating if it's in diet or not.
- User's metrics should contain total meals, total meals in diet, total meals out diet, best streak in diet
- An user can only CRUD his own meals.
- User's password should be encrypted
- The data should be persisted in a SQLite DB
- The user should be authenticated with a JWT
- List should be paginated with 10 items per page