local deployment instance requirement
nodejs version 16.17.1
mysql version 10.1.40-MariaDB \
clone source code from github
git clone https://github.com/BengalSolutions/backend_api.git
rename the .env.example to .env
configure env variable for local environment like
NODE_ENV=development
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=root
DB_PASSWORD=
DB_DATABASE=
open congfig_development.json from config directory for local deployment
open congfig_production.json from config directory for prodcution deployment
Open terminal in this project directory run this command below
npm install
npm run migrate
npm start