Skip to content

fdc1010/store-backend

Repository files navigation

Store Backend

Directory Structure

.
├── bin -> executable program
├── configs -> where all configs store in js file
└── crons -> cron files needed <soon>
└── email-templates -> templates for send email <soon>
├── handlers -> all handler for routing goes here
├── middlewares -> all middleware configuration goes here
├── migrations -> db migration files
├── models -> all sequelize models
├── node_modules -> u know lah what it is
├── public -> directory to publish it on server
├── routes -> all routes config goes here
└── storage -> all file like data, or uploaded file goes here
└── utils -> all script files needed as utilities / helpers
└── validators -> script files for validation of entries

Installation (Development)

  • Clone this project
  • Run npm run install or yarn dev
  • Duplicate file .env.example to .env
  • Fill all required environment on .env file
  • Run npm run dev or yarn dev to execute the program

Installation (Production)

  • docker
  • pm2

About

MySQL ExpressJS NodeJS scripts play around

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages