Skip to content
This repository has been archived by the owner on Nov 10, 2018. It is now read-only.

Update routing #3

Open
1 of 5 tasks
Kujawadl opened this issue Sep 2, 2016 · 0 comments
Open
1 of 5 tasks

Update routing #3

Kujawadl opened this issue Sep 2, 2016 · 0 comments

Comments

@Kujawadl
Copy link
Owner

Kujawadl commented Sep 2, 2016

  • Add columns in database for department code (e.g. CSC), college shortname (e.g. STEM), and course description
  • Implement models
  • Implement controllers
  • Rewrite views
  • Update routing logic to use controllers

Routes should be:

  • http://{baseurl}/list/{schoolShortName}/{departmentCode}/{degrees or courses}/{courseNumber or major/minorID}
  • http://{baseurl}/add/{schoolShortName}/{departmentCode}/{degrees or courses}/{courseNumber or major/minorID}
  • http://{baseurl}/edit/{schoolShortName}/{departmentCode}/{degrees or courses}/{courseNumber or major/minorID}

For example:

View a list of colleges in the university

http://yourwebsite.com/list

View a list of departments in the College of Science and Mathematics

http://yourwebsite.com/list/STEM

View a list of courses in the Computer Science department

http://yourwebsite.com/list/STEM/CSC/courses

View course information for CSC 202

http://yourwebsite.com/list/STEM/CSC/courses/202

View degree requirements for a French major

http://yourwebsite.com/list/LiberalArts/FRE/degrees/492

Update course information for CSC 202

http://yourwebsite.com/edit/STEM/CSC/courses/202

Create a department in the College of Liberal Arts

http://yourwebsite.com/add/LiberalArts/

Update degree requirements for a French major

http://yourwebsite.com/edit/LiberalArts/FRE/degrees/492

@Kujawadl Kujawadl self-assigned this Sep 5, 2016
@Kujawadl Kujawadl removed their assignment Nov 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant