A full stack roulette app.
Utilized:
- JavaScript
- Node
- Express
- EJS
- CSS
- MongoDB
Users are able to place a bet on a color (red, black, green). Additionally app has the functionality of allowing a casino admin to log in and track wins losses and total revenue the casino has made.
Through building this app, I was able to get comfortable with the basics of GET, PUT, POST and DELETE. As well as further familiarizing myself in using EJS.
As someone with no background in art, styling could definitely use improvements.
Optimize CSS
Some of the code needs to refactored for better readabiility. Some deprecated code (bodyparser) needs to be updated
Upcoming features:
- Creating a user account
- Accessibilty features like, high contrast and zoom in options
- Having multiple users and allowing them to keep track of their lifetime wins and losses
npm install
- Create a
.env
file and add the following askey = value
- PORT = 2121 (can be any port example: 3000)
- DB_STRING =
your database URI
(don't forget to add your .env
to .gitIgnore
to keep your secrets a secret)
check package.json script for nodemon