- Clone this project
- run mysql server
- go to config/config.json and specify database data
- create file .env
- add field "SECRET", to .env, which will equal to some secret key
- add field "MAIL_USERNAME", "MAIL_PASSWORD", "MAIL_HOST", "FROM_EMAIL", "URL", "CLIENTURL"
- npm run server:install
- npm run client:install
- npm run client:build
- then go to client/build/index.html and replace all "./" to "/"
- then go back to react_express dir
- node_modules/.bin/sequelize db:migrate
- node_modules/.bin/sequelize db:seed:all
- npm run start
- app will run on http://localhost:8080