Learn and share software engineering skills in real life.
Install dependencies:
yarn installStart the mysql server:
mysql.server startInitiate the database:
yarn init:devAdd tables to the database:
yarn migrate_up:devStart the API:
yarn start_api:devBuild sources with webpack:
yarn build:devRun the development server:
yarn start_web:devStart the mysql server:
mysql.server startStart the API in testing mode:
yarn start_api:testRun unit and functional tests:
NODE_ENV=test yarn testDeploy either the api or web bundle to a Heroku dyno:
chmod +x ./deploy.bash && ./deploy.bash help
For example, to deploy the web project:
./deploy.bash web nameless-citadel-98211