Skip to content

As my second group project we developed a web API and a client application. The project is based on a REST architecture and allows external services to fetch and modify data in the application. It includes both database interaction and integration with external APIs. We have also implemented IoC to be able to do tests.

Notifications You must be signed in to change notification settings

mmxzps/Music-API

 
 

Repository files navigation

Endpoints with their assigned payloads

GET endpoints

  • /user/{userId}/track -Gets all tracks connected to a single user

  • /user/{userId}/genre -Gets all genres connected to a single user

  • /user/{userId}/artist -Gets all artists connected to a specific user

  • /user/{userId}/track -Gets all tracks connected to a specific user

Post endpoints

  • /track -Add new track:

Payload:

{  
    "TrackTitle": "Track title", 
    "Genre": "Genre",  
    "Artist": "Artist" 
}
  • /user Adds new user

Payload:

{  
	"UserName": "User name"
}
  • /genre Adds new genre

Payload:

{  
	"GenreName":"Genre"
}
  • /user/{userId}/genre/{genreId} Connects user to a genre

  • /user/{userId}/artist/{artistId} Connets user to a artist

  • /user/{userId}/track/{trackId} Connects user to a track

My Diagram

About

As my second group project we developed a web API and a client application. The project is based on a REST architecture and allows external services to fetch and modify data in the application. It includes both database interaction and integration with external APIs. We have also implemented IoC to be able to do tests.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%