A betting application allowing users to watch, see upcoming, and bet against their friends on Esport matches using a proprietary currency called GG coins. It sources upcoming match data and results from PandaScore API. Twitch integration allows users to watch the matches and offers chatting with other viewers by WebSocket. The server will be responsible for not only determining winners and losers by the result provided by PandaScore, but also cancelling the bets if there are insufficient users in the bet when the match has started.
Frontend:
- React
- React router
- Ant Design
Backend:
- Node
- Express
- Sequelize
- WebSocket
Database:
- PostgreSQL
- Install dependencies using the
npm install
command for both react-front-end and express-back-end folders. - Start the client-side app and server using the
npm start
command. The client-side app will be served at http://localhost:3000/ and server will be served at http://localhost:8080/ - Need to register for PandaScore API and paste the token in the .env files in both folders.
- Make sure connect to your own database and migrate tables and seeds.
- Go to http://localhost:3000/ in your browser.
- Peter Yan - yanlinchengrui
- Nick Jenvey - nickjenvey
- Govind Sandhu - govsandhu