BACKEND
-
Clone
git clone https://github.com/crystud/project
-
Change directory into backend
cd backend
-
Install dependencies
yarn install
ornpm install
-
Config database connect information in src/configs/db.js
-
Run (develop mode)
yarn serve
ornpm run serve
Build backend
Run one of these commands in backend folder
yarn run build
or npm run build
FRONTEND
-
Change directory into frontend
cd frontend
-
Install dependencies
yarn install
ornpm install
-
Run (develop mode)
yarn serve
ornpm run serve
Build frontend
Run one of these commands in frontend folder
yarn run build
or npm run build