dice-game-express

A express webapp to play a simple game with dices.

The server uses a mongo database, so you need to have a local mongodb installed and running, or if you want to use a cloud mongo database you need to modify the mongoDB constant in the app.js file with the connection string.

To run the server use the following commands:

npm install
# for OSX/Linux
DEBUG=express-locallibrary-tutorial:* npm run start
# for Windows
SET DEBUG=express-locallibrary-tutorial:* & npm start

Then navigate to localhost:3000 inyour browser

ps: the routing seems quite random because the instruccions for this exercise were ambiguous :'