felicity-buzz-2k16 / quiz-portal-backend

The generic quiz portal's backend
ISC License
0 stars 7 forks source link

Generic Quiz portal backend

Build Status

This is the generic quiz portal's backend that is going to be used in Buzz. It would be used for events like Gordian Knot, Cache In, etc.

Based on meghprkh/express-auth-starter

Setting Up

npm i

Running in dev mode

Please make sure the frontend server is also running in dev mode

npm start

The API will now be available at http://localhost:3000/api

Running in prod mode

Please build the frontend and copy the files from the dist folder there to the public folder here. Then run the following command

npm run prod

Now go to http://localhost:3000/

Libraries & Devtools Used

License

The code is provided under the ISC license