To build a REST
API using a ORM
with the sequelize
package from npm
, following the MSC
architecture:
- Create and join tables using
models
fromsequelize
- Build endpoints to consume the created models
- Make a
CRUD
with theORM
- Logic validations made with Joi
- Authentication made with JWT
Still a work in progress with room for refactoring. As I learn, I plan to continue implementing and optimizing best practices and design patterns.
- Clone the repository:
git clone git@github.com:eliHC/blogs-api.git
- Inside the project root folder, install the dependencies:
npm install
- Start the application:
npm run debug