Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please provide a C# API Code. If you need reference this is the closest example https://github.com/aceinthedeck/MovieApi. If you can provide the code, its much appreciated.

Please provide a C# API Code. If you need reference this is the closest example https://github.com/aceinthedeck/MovieApi. If you can provide the code, its much appreciated. Thank you in advance

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

- Have a Readme.md file inside the repo. With your name and student id. - Inside the readme file add instructions on how to run the app. The app should be run using dockercompose up command. - Make sure to test docker-compose up command before submitting. If it does not run for some reason. You will lose points. - I'm going to use automated tests to run the API. So, make sure you make the endpoints as mentioned below else my tests will fail. - I have intentionally left out the response status codes as an exercise. Make sure you follow the standard REST response codes. - Late submission will be accepted until Sunday 19th February, 2023 12:00 PM with 30% penalty. Project You need to create an API to support photo albums. Ther product designers have given you the following specifications: - A user should be able to upload an image for the photo album with a caption. - The user should be able to delete an uploaded image. - The images should be uploaded to S3 bucket. - The data should be saved in Postgres DB. - The user should be able to create a photo album. - The user should be able to delete an entire photo album (which means it will delete all the photos within an album) as well as single photo - The user should be able to list all the photo albums. - The user should be able to list all the images within a photo album. - The S3 bucket credentials should be configured in docker-compose.yml file 1. Create an album POST : /albums Request Body : \{ "name" : "abc" 1/4 Assignment.md 2/4/2023 \} Response : Standard REST response code for a created resource Body: \{ "id" : "abc-def" "name" : "abc" \} POST: /albums// images Request Body: \{ "caption": "birthday party" \} Upload image file as Multipart/form data Response : Status code : standard REST response for a created resource Body: \{ "id": "abc-rtf" "url": "https://2/4 Assignment.md 2/4/2023 DELETE: /albums/"albumId":"wer-grt","albumName":"abc" \} ] 6. List all images within an album Response: List all the images within an album Body: \{ 3/4 Assignment.md 2/4/2023 "id" : "album_id", "name": "Album Name" [ \{ "id" : "", "url" : "https:// ", "url" : "https://

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Datacasting How To Stream Databases Over The Internet

Authors: Jessica Keyes

1st Edition

007034678X, 978-0070346789

More Books

Students also viewed these Databases questions

Question

What are the potential downsides to firm growth?

Answered: 1 week ago

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago