Battle your peers head-to-head with intense coding challenges.
- Product Owner: Hahnbi Sun
- Scrum Master: Harun Davood
- Development Team Members: Harun Davood, Alan Fu, Hahnbi Sun, Kevin Weng
## Table of Contents
## Usage
Load up the arena and try to complete as many of the test cases for the coding challenge as possible before your opponent.
## Requirements
- Node 0.10.x
- Express -
- Postgresql 9.1.x
- ORM
- React -
- Redux -
## Development
From within the root directory:
sudo npm install -g bower
npm install
bower install
View the project roadmap here
## Contributing + Github Workflow
See github.md for contribution and github workflow guidelines.
## Architecture ### High Level Architecture ![](http://i.imgur.com/mqdnWVh.png)
Database in Postgres, using Bookshelf and Knex
Request | URL | Response |
---|---|---|
Log-in | /auth/github | |
Log-out | /logout | |
Verify User | /auth-verify | userObj |
Get User | /api/users/:githubHandle | userObj |
Get Match History | /api/users/:githubHandle/matches/ | [matchObj...] |
Get User's Solutions | /api/solutions/user/:gitubHandle | [solutionObj...] |
Get Solution | /api/solutions/:solutionId | solutionObj |
Get Leaderboard | /api/solutions/:challenge_id/top | [solutionObj...] |
Get Challenge | /api/challenges/:challengeId | [challengeObj...] |
Request | URL | Response |
---|---|---|
GUI Access to Database | /addProblemsSolutions.html | |
Add Challenge | /api/challenges | challengeObj |
Get Random Challenge | /api/challenges | challengeObj |
Add User | /api/users | userObj |
Empty Database | /api/resetDB | |
Reseed Database | /api/resetDBWithData | |
Reseed Challenges Table | /api/resetChallenges |
This has been deployed onto Digital Ocean using Docker containers. The backend architecture allows horizontal scaling of the solution worker to handle higher loads