Heroku Link: https://famble.herokuapp.com/
An app that allows people to gamble with no negative consequences.
Jay Rana - jpr48@njit.edu
- Landing page
- Bet modal
- Linting and fixing frontend code
- Redirection based on login status
Steven Gardiner - spg28@njit.edu
- Helped setup MongoDB Schema
- Setup Base Application Structure
- Setup Persistent User State on Frontend
- Setup User Routes on Backend
- Setup Game Routes on Backend
Vivek Sreenivasan - vns9@njit.edu
- Created User dashboard
- Wrote wrapper functions to interact with API backend
- Linted backend/frontend code
- Researched potential APIs for sports data
Pedro Ramos - par25@njit.edu
- Set up the MongoDB Schemas
- Set up Betting API along with the Betting Service
- Unit testing on the Backend
- Created the mockups
- Linebreak-Style: Every time it was fixed, it would somehow get reverted when pulled from Github.
- Prop-Types: It was not working properly since I could not determine the type of props being passed.
- No-undef: Browser localstorage was undefined but it was being used to store the login token
- No-underscore-dangle: '._id' needed to be accessed as userid for mongodb
- Node (version >= 12)
- MongoDB
- Clone the repo
git clone
- Install the Prerequisites (See Above)
- Install
npm
dependencies frompackage.json
$ npm install
- Run the following on your local machine (Runs on port 3000):
$ npm run dev
In order for the login to work, follow these steps:
- Copy your URL either from
Preview your running application
or from your Heroku deployment. - Go to
https://console.developers.google.com/apis/credentials/oauthclient/<CLIENT_ID>?project=<PROJECT_NAME>
(Replace <CLIENT_ID> and <PROJECT_NAME> with what you created in earlier steps) - Under
URIs
, paste your URL and remove everything after the.com
or whatever the end of your domain is. - Click
Save
- Sign up for Heroku http://heroku.com/
- Install Heroku
npm install -g heroku
- Login and create Heroku URL
heroku login -i
heroku create
- Push your app to Heroku
git push heroku master
- Navigate to your newly-created Heroku site
- If you're still having trouble you can check Heroku's logs to see what is going on
heroku logs --tail
- If you would like to manage your DB, run the following in your terminal:
heroku pg:psql
- Jay Rana - jpr48@njit.edu
- Steven Gardiner - spg28@njit.edu
- Vivek Sreenivasan - vns9@njit.edu
- Pedro Ramos - par25@njit.edu
Project Link: https://github.com/stevegardiner26/famble
Heroku Link: https://famble.herokuapp.com/