Back-end repo for movies library project by Alex, Fearghal and Halimah
- Clone the repo.
- Run
dotnet restore
- In your command terminal
cd afh-api
- run
dotnet run
- Make sure the localhost has
/swagger/index.html
at the end
GET /User/{id}
- Retrieve a user by idPATCH /User/{id}
- Edit a user by idDELETE /User/{id}
- Delete a user by idPOST /User
- Add a user
GET /Movie
- Get all moviesGET /Movie/{id}
- Retrieve a movie by idPATCH /Movie/{id}
- Edit a movie by idDELETE /Movie/{id}
- Delete a movie by idPOST /Movie
- Add a movie
GET /Collection
- Get all collectionsGET /Collection/{id}
- Retrieve a collection by idPATCH /Collection/{id}
- Edit a collection by idDELETE /Collection/{id}
- Delete a collection by idPOST /Collection
- Add a collection
- cd into afh-be.Tests
- Run
dotnet test