Skip to content

Serverless webAPI for for managing movie review postings. Hosting the API on the AWS platform and using the CDK framework to provision infrastructure resources

Notifications You must be signed in to change notification settings

serenebabu2022/EWD_assignment_1

Repository files navigation

Serverless REST Assignment.

Name: Serene Babu

Video demonstration: https://www.youtube.com/watch?v=IW599F7t6x8

This repository contains an implementation of a serverless REST API for the AWS platform. The CDK framework is used to provision its infrastructure. The API's domain context is movie reviews.

API endpoints

  • POST /movies/reviews - add a movie review.
  • GET /movies/{movieId}/reviews - Get all the reviews for a movie with the specified id.
  • GET /movies/{movieId}/reviews?minRating=n - Get all the reviews for the film with the specified ID whose rating was higher than the minRating.
  • GET /movies/{movieId}/reviews/{reviewerName} - Get the review for the movie with the specified movie ID and written by the named reviewer.
  • PUT /movies/{movieId}/reviews/{reviewerName} - Update the text of a review.
  • GET /movies/{movieId}/reviews/{year} - Get the reviews written in a specific year for a specific movie.
  • GET /reviews/{reviewerName} - Get all the reviews written by a specific reviewer.
  • GET /reviews/{reviewerName}/{movieId}/translation?language=code - Get a translated version of a movie review using the movie ID and reviewer name as the identifier.

API Gateway service with the App endpoints

Authentication

Following is the user confirmed using the authentication process

Mutli Stack approach

For more flexibility, scalability and interoperability

Lambda Layers

For code reusability

About

Serverless webAPI for for managing movie review postings. Hosting the API on the AWS platform and using the CDK framework to provision infrastructure resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published