Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fcbento/nodejs-fastify-knex-sqlite-render

Crud to practice Node.js using TypeScript, Fastify for web framework, query builder using Knex, Sqlite/PostgreSQL for data storage and hosting on Render
https://github.com/fcbento/nodejs-fastify-knex-sqlite-render

fastify knex nodejs postgres render sqlite typescript

Last synced: about 14 hours ago
JSON representation

Crud to practice Node.js using TypeScript, Fastify for web framework, query builder using Knex, Sqlite/PostgreSQL for data storage and hosting on Render

Awesome Lists containing this project

README

        

### Business rules

- [x] Should be able to create a new user
- [x] Should list all users
- [x] Should be able to idenfity user among requesitions

- [x] Should be able to register a meal with the following info

*Meals should be related to a user*

- Name
- Description
- Date
- On a diet// boolean

- [x] Should be able to edit a meal
- [x] Should be able to delete a meal
- [x] Should be able to list all meals from a user
- [x] Should be able to see a single meal
- [ ] Should be able to retrieve users metrics
- [x] Total quantity registered meals
- [x] Total quantity meals on diet
- [x] Total quantity meals out of diet
- [x] Best sequence of meals on the diet

- [x] Should make it possible to see to edit or delete meals that the user themselves created