Skip to content

Latest commit

 

History

History
106 lines (83 loc) · 3.12 KB

File metadata and controls

106 lines (83 loc) · 3.12 KB

Hardcoders

Github repository containing the submission for Cuvette Codoctober Hackathon 2021 by team Hardcoders

Routes

  • /user Routes

Get /user/signup Signup Page Route

Get /user/login Login Page Route

Post /user/signup Signup a new user(POST)

Post /user/login Login an existing user(POST)

Get user/logout Logout a logged in user

  • Other user Routes

Get /user/tracks Route to get all the tracks of the logged In user

Post /user/tracks Route to add a new track with milestones and each milstone contains resources

Get /user/profile Route to view the profile of the logged In user

Get /user/public-profile/:name Route to view the public profile of the user with unique name

Post /user/profile Route to Edit user profile details

Get /user/notes Route to get all the notes of the logged In user

Post /user/notes Route to add a new note

  • /forum Routes

Get /forum Route to render forum/Discussion page

  • Other forum Routes

Post /forum/create Post route to create a new discussion/question

Get /forum/view/:id Route to view a particular discussion thread

Post /forum/answer/:id Route to answer a particular question

Installation

Routes Appendix

  • User Accounts Routes

Get /user/signup

  • Signup Page Route

Get /user/login

  • Login Page Route

Post /user/signup

  • Signup a new user(POST)

Post /user/login

  • Login an existing user(POST)

Get /user/logout

  • Logout a logged in user

  • Other user Routes

Get /user/tracks

  • Route to get all the tracks of the logged In user

Post /user/tracks

  • Route to add a new track with milestones and each milestone contains resources

Get /user/profile

  • Route to view the profile of the logged In user

Post /user/profile

  • Route to Edit user profile details

Get /user/notes

  • Route to get all the notes of the logged In user

Post /user/notes

  • Route to add a new note

  • Forum Routes

Get /forum

  • Route to render forum/Discussion page

Post `/forum/create

  • Post route to create a new discussion/question

Get /forum/view/:id

  • Route to view a particular discussion thread

Post /forum/answer/:id

  • Route to answer a particular question

-Global Search Routes

Get /user/public-profile?search=xyz

  • Route to display a list of all users with an occurrence of “xyz” in username

Get /resource?search=xyz

  • Route to display all resources containing the keyword “xyz” in tags

Get /forum?search=xyz

  • Route to display all discussions containing the keyword “xyz” in tags

  • Resources Page Routes

Get /resource

  • Route to render common resource page

Get /resource?search=xyz1

  • Route to display all resources containing the keyword “xyz” in tags

Post /resource/create

  • Post route to create a new resource material

Get /resource/view/:id

  • Route to view a particular resource

Post /resource/comment/:id

  • Post route to comment in a particular resource

Our Contributors

Biley Roy Pranjal Das Sharmistha Das Tushar Sachan Naresh Kumar Makwana