/template-node-express-pgsql-sequelize

Dockerized Boiler plate code for starting a node microservice with express as middleware, pgsql database connected with sequelize ORM with end to end testing

Primary LanguageJavaScriptMIT LicenseMIT

Template Backend Service ( Node.js )

This is a template for a Node.js Express application with PostgreSQL and Sequelize.

Technology Stack

  • Typescript/ Javascript ( Language )
  • Node.js ( Backend framework )
  • Express ( Middleware )
  • Postgresql ( Database )
  • Sequelize ( ORM )
  • Docker ( Containarization )

Usage

This template provides a basic setup for a Node.js Express application with PostgreSQL and Sequelize. You can use it as a starting point for your own projects.

Make Commands

To make it easier to work with this template, we have provided the following make commands:

  • make setup: Sets up the project by installing dependencies and running migrations.
  • make start: Starts the server.
  • make test: Runs the tests.
  • make lint: Lints the codebase.

Feel free to modify these commands or add your own as needed.

Testing Environments

This template also includes support for testing environments. You can find the test files in the test directory. To run the tests, use the make test command.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This template is licensed under the MIT License. See the LICENSE file for more information.