Skip to content
Garrett Tongue edited this page Nov 21, 2017 · 2 revisions

Routes

  • / - Dashboard / root
  • /login
  • /signup
  • /challenges - All challenges
  • /challenges/:id - Challenge from id
  • /users - Highscores of users
  • /users/:id - User show page

API

Users

  • POST /api/users/ - Create a new user
  • GET /api/users/:id/ - User information including challenges completed

Session

  • POST /api/session/ - Login
  • DELETE /api/session/ - Logout

Challenges

  • GET /api/challenge- Return the challenges
  • GET /api/charts/:id - Return an individual challenge

Clone this wiki locally