Skip to content

superrache/dept-quiz

Repository files navigation

dept-quiz

The game is here:

https://dept-quiz.herokuapp.com/

Project setup

npm install

Development

A PostgreSQL database test has to be created before launching server

Run node.js server with hot-reloads

npm run express

Run vue app with hot-reloads

npm run serve

Production

Deployment

Connect the repo to the app

heroku git:remote -a <heroku-app>

This command will push in the heroku git depo then build (npm run build) and deploy the app:

git push heroku main

Heroku uses the following command to start both front and backend

npm run start