Skip to content

Latest commit

 

History

History
66 lines (36 loc) · 872 Bytes

File metadata and controls

66 lines (36 loc) · 872 Bytes

Backend-Admin-Backend

launch the application

git clone from remote

git clone https://github.com/Backend-Admin-Management-System/Backend-Admin-Backend.git

enter the file

cd Backend-Admin-Backend

check out to dev branch

git checkout dev

install dependencies

npm i

config your appConfig file

rename appConfig.template.js to appConfig.js

Setup .env file

JWT Configuration

JWT_SECRET=

MySQL Configuration

MYSQL_HOST= MYSQL_USER= MYSQL_PASSWORD= MYSQL_PORT=

Bcrypt Configuration

BCRYPT_SALT=

Cloudinary Configuration

CLOUDINARY_CLOUD_NAME= CLOUDINARY_API_KEY= CLOUDINARY_API_SECRET=

Do not run init db ot reset db if u use test cloud database

run the application

npm run dev

you can use default account to login

admin

username: admin

password: 123456

teacher

username: mark

password: 123456