mirror of
https://github.com/20kaushik02/express-sequelize-backend-template.git
synced 2025-12-06 09:04:06 +00:00
overall: formatting check, jsdoc type hints, express res/return stuff utils - changes in logger, dateformatter and removed unneeded ones .env file changes license check, readme update package.json update - version, deps, URLs server cleanup sequelize config check
1007 B
1007 B
Express-Sequelize backend server template
To get started
- Clone this repo:
git clone https://github.com/20kaushik02/express-sequelize-backend-template - Reset the git remote repo URL:
git remote rm origin - Set new git remote URL:
git remote add origin https://github.com/20kaushik02/<<new-repo-name>> - Remove the template environment files from git alone:
git rm -r --cached *.env*
Project setup
- Edit
package.jsonto reflect the new name and URLs - Edit
README.mdto reflect project details - Run
npm ito install all dependencies - Before running
sequelize-clicommands while developing, make sure to set$env:NODE_ENV='development'on Windows, orNODE_ENV=developmenton Linux/MacOS - See here for best practices for .env files configuration
- Staging:
npm run staging_prepandnpm run stagingto deploy on Render after configuring a new web service on Render dashboard