Skip to content

petermc87/group-2-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restful Routes

# Action URL HTTP Verb Mongoose Method
1 Index /access/
/edu/
/profile/
/user/
/work/
GET Accessibility.find()
Education.find()
Profile.find()
User.find()
WorkExperience.find()
2 Show /access/:id
/edu/:id
/profile/:id
/user/:id
/work/:id
GET Accessibility.findById()
Education.findById()
Profile.findById()
User.findById()
WorkExperience.findById()
3 Create /access/
/edu/
/profile/
/user/
/work/
POST Accessibility.create(req.body)
Education.create(req.body)
Profile.create(req.body)
User.create(req.body)
WorkExperience.create(req.body)
4 Edit /access/:id/edit
/edu/:id/edit
/profile/:id/edit
/user/:id/edit
/work/:id/edit
GET Accessibility.findById()
Education.findById()
Profile.findById()
User.findById()
WorkExperience.findById()
5 Update /access/:id
/edu/:id
/profile/:id
/user/:id
/work/:id
PUT Accessibility.findByIdAndUpdate()
Education.findByIdAndUpdate()
Profile.findByIdAndUpdate()
User.findByIdAndUpdate()
WorkExperience.findByIdAndUpdate()
6 Destroy /access/:id
/edu/:id
/profile/:id
/user/:id
/work/:id
DELETE Accessibility.findByIdAndDelete()
Education.findByIdAndDelete()
Profile.findByIdAndDelete()
User.findByIdAndDelete()
WorkExperience.findByIdAndDelete()

Project Goals

  • User can sign-up
  • User can login
  • Info is stored in DB
  • Info is protected
  • User needs to look for jobs

Project Struggles

  • Incorporating multiple models

ERD

Project Collaborators

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8