Backend logic for building our app to build more apps
local
- clone repo:
git clone https://github.com/yyc-lab/meta-labs-backend-service.git
- npm install
- copy .env-example to .env, reaplace values
- knex migrate:latest
- npm start
heroku
- login heroku
- click create new app
- select Github as deployment method
- select repo: meta-labs-backend-service (you might have to fork https://github.com/yyc-lab/meta-labs-backend-service)
- hit deploy
- heroku rigth top of page =>
page
=>run terminal
=>run --app beeeee <AppName> knex migrate:latest
or install Heroku ClI and run from local terminalheroku run --app beeeee knex migrate:latest
Can push