this is a game with node/adonis on backend and react/mobx on frontend
- npm >= 6.4.1
- node >= 9.1.0
- docker
- docker-compose
start database (mysql)
docker-compose up
install backend
npm install
set env
cp .env.example .env
run database migrations
node ace migration:run
run database seeds
node ace seed
start backend server
npm start
move to frontend directory
cd front
install dependencies
npm install
start frontend server
npm start
- heroku cli
Run the following command to the app to git config.
heroku git:clone -a app-name
git push heroku master