-
Prepare your system
- install nodejs v14.18.x
- install mongodb v5.0.x
- mongodb create db with name 'donateApp'
- mongodb create user (login: donateApp, pass:donateApp) with read/write permissions on db 'donateApp',
-
Clone app from github
git clone https://github.com/meekot/donate-app.git
cd donate-app
-
Installing dependencies
npm install
-
Config environement (if need) you can config DB settings, and ports for developement and production modes
vim .env
-
Run app
- dev mode full :
npm run dev
after open http://localhost:8080/ in your browser - prod mode full:
npm run start
after open http://localhost:8081/ in your browser - dev-mode back:
npm run dev-back
- prod mode back:
npm run start-back
- dev mode front:
npm run serve-front
- prod mode front:
npm run build-front
- dev mode full :