rcos / observatory-server

A project tracking dashboard for Rensselaer Center for Open Source
https://rcos.io
MIT License
14 stars 51 forks source link

UserRegistration Controller #795

Closed ratchet12340 closed 5 years ago

ratchet12340 commented 5 years ago

As we are refactoring a lot of the server side to use new models and such, we will look to split the User model into two models:

For reference, this is the preliminary model in mind:

  - user_id (ref)
  - project_id (ref)
  - semester_id (ref)
  - rin (string)
  - credits (string)
  - status (string - student, external mentor, alumnus, RPI faculty, etc.)
  - schedule_conflict (boolean)
  - has_completed_urp_form (boolean)
  - requires_wheelchair_accessible_room (boolean)
  - mentor_preferences ([ref])

For this issue, please make the rudimentary UserRegistration routes. This will entail making the index.js file like before. We will have the following routes implemented, so please define matching functions in the UserRegistration controller.

aeksco commented 5 years ago

Resolved