Skip to content

BenjaminMatthewAdams/Api-University

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Api-University

Api University is a small .NET Core API that allows students to enroll in courses.

Dependencies

There are a few things that need to be completed in order for us to make the application ready for its first release.

  1. There is a bug in the startup.cs file that is preventing the Console.WriteLine from printing out the professor's name. Make the necessary changes to correct this bug so that the professor name is written to the console.

  2. Need an endpoint that allows a student to enroll in a course. The url should be /api/enrollment/enroll.

    • A student should only be able to enroll in a maximum of 2 courses.
    • A student cannot enroll in a course that the specified professor does not teach.

    Following the existing validation patterns established in the application, return a 400 Bad Request to the consumer when one of the validation rules above fails.

  3. Need an endpoint that returns all the courses a student is enrolled in. The url should be /api/students/{studentId}/courses.

Documentation

API Test Applications

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages