Skip to content

This is a boilerplate repository for anyone who wants to start project with nodejs-express-sequelize-CICD-SQL Databases.

Notifications You must be signed in to change notification settings

FranklinThaker/NodeJs-Sequelize-Express-Jest-CICD-BoilerPlate

Repository files navigation

Node.js-Sequelize-Express-Boilerplate

with CICD and Jest test framework

Node.js CI

Installation

This boilerplate requires Node.js v12+ to run.

Install the dependencies and devDependencies and start the server.

cd NodeJs-Sequelize-Express-Jest-CICD-BoilerPlate
nano .env [add required variables -> I have added .env.local for example]
npm i
npm start
npm test [to run tests -> this is precisely written for Postgres DB, so you might wanna change package.json test scripts for that.]
If you want to remove CICD, just delete .github/workflows folder.

How to manage in production mode ? [Create, delete, view logs, etc.]

npm i pm2 -g
pm2 start production.config.json
pm2 startup systemd
pm2 save
pm2 delete all [to delete processed attached with pm2]
pm2 logs [to view logs]

Thank you :)

Feel free to connect with me on:

https://www.instagram.com/axel_blaze_csgo/
https://www.youtube.com/c/FranklinThaker

About

This is a boilerplate repository for anyone who wants to start project with nodejs-express-sequelize-CICD-SQL Databases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published