- Angular UI-Router (without using #)
- Simple Bootstrap template
- Compiles Typescript automatically
It implements three tables:
- Course
- Student (N:N with
course
) - Homework (belongs to
course
)
In order to get all students that belong to a course, do:
GET http://localhost:3000/courses/{course_id}/students
Add a student to a course:
PUT http://localhost:3000/courses/{course_id}/students/{student_id}
Or delete a student from a course:
DELETE http://localhost:3000/courses/{course_id}/students/{student_id}
$ bundle install
$ rake db:migrate
$ rake db:seed