Skip to content

A simple CRUD api using sequelize ORM. APIs were protected by JWT and secrets hashed by bcrypt.

License

Notifications You must be signed in to change notification settings

Arunagnz/sequelize-crud-api

Repository files navigation

sequelize-crud-api

alt text

Database utility:

  • sequelize
    • Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more. Sequelize follows Semantic Versioning.

Includes API Server utilities:

  • morgan
    • HTTP request logger middleware for node.js
  • helmet
    • Helmet helps you secure your Express apps by setting various HTTP headers. It's not a silver bullet, but it can help!
  • dotenv
    • Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env

Security utilities:

  • bcrypt
    • A library to help you hash passwords
  • jsonwebtoken
    • An implementation of JSON Web Tokens

Development utilities:

  • nodemon
    • nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.
  • eslint
    • ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code.
  • mocha
    • ☕️ Simple, flexible, fun JavaScript test framework for Node.js & The Browser ☕️
  • supertest
    • HTTP assertions made easy via superagent.

Setup

npm install

Lint

npm run lint

Test

npm run test

Development

npm run dev

About

A simple CRUD api using sequelize ORM. APIs were protected by JWT and secrets hashed by bcrypt.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published