Skip to content

quentinbt/devGame

Repository files navigation

DAT GAME

this is a game with node/adonis on backend and react/mobx on frontend

demo!!!

Requirements

  • npm >= 6.4.1
  • node >= 9.1.0
  • docker
  • docker-compose

Backend setup

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

start backend server

npm start

Frontend setup

move to frontend directory

cd front 

install dependencies

npm install

Start frontent

start frontend server

npm start

Deploy on heroku

Requirements

  • heroku cli

set heroku

Run the following command to the app to git config.

heroku git:clone -a app-name

deploy

git push heroku master

About

Test your dev skills

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published