Created
August 15, 2014 09:45
-
-
Save henryboldi/ec2ee455c6c8f55211a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'GET /api/notifications': 'NotificationController.show', | |
'GET /hacks/isEncoded/:id': 'HacksController.isEncoded', | |
'POST /api/notifications': 'APNSUserController.subscribe', | |
'PUT /api/notifications/:id': 'NotificationController.see', | |
'DELETE /api/notifications/:id': 'NotificationController.destroy', | |
'GET /api/hacks/recent': 'HacksController.recent', | |
'GET /api/hacks/popular': 'HacksController.popular', | |
'GET /api/hacks/popular/hackathon': 'HacksController.hackathonPopular', | |
'GET /api/hacks/following': 'HacksController.following', | |
'GET /api/hackathon/:id': 'HackathonController.get', | |
'POST /api/login': 'SessionController.create', //done | |
'GET /api/login/oauth/github': 'SessionController.github', //done | |
'POST /api/logout': 'SessionController.destroy', //done | |
'GET /api/accounts/users/:id': 'UserController.get', //done | |
'GET /api/session': 'SessionController.currentSession', //done | |
'PUT /api/accounts/users': 'UserController.update', | |
'POST /api/accounts/users/:id/followers': 'FollowController.create', //follow someone | |
'DELETE /api/accounts/users/:id/followers': 'FollowController.destroy',//done | |
'GET /api/accounts/users/:id/followers': 'UserController.followers', //done | |
'GET /api/accounts/users/:id/following': 'UserController.following', //done | |
'GET /api/accounts/users/:id/hacks': 'UserController.userHacks', //done | |
'POST /api/accounts/users': 'UserController.create', //done | |
'POST /api/accounts/oauth/github': 'UserController.github', //done | |
// 'PUT /api/accounts/users/:id': 'UserController.update', //done | |
// 'DELETE /api/accounts/users/:id': 'UserController.destroy', | |
// should be more on startups | |
'GET /api/hacks/:id': 'HacksController.get', //done | |
'PUT /api/hacks/:id': 'HacksController.update', //done | |
'DELETE /api/hacks/:id': 'HacksController.destroy', //done | |
'GET /api/hacks': 'HacksController.requestUpload', //done | |
'POST /api/hacks': 'HacksController.uploadAction', //done | |
'POST /api/project': 'ProjectController.create', | |
'GET /api/project/:id': 'ProjectController.create', //gets list of projects by a userid | |
// 'DELETE /api/hacks/:id': 'HacksController.destroy', | |
'POST /api/hacks/:id/comments': 'CommentController.create', //done | |
'GET /api/hacks/:id/comments': 'HacksController.comments', //done | |
'POST /api/hacks/:id/likes': 'LikeController.create', //done | |
'GET /api/hacks/:id/likes': 'HacksController.likes', //sone | |
'DELETE /api/hacks/:id/likes': 'LikeController.destroy', //done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment