Code Monkey home page Code Monkey logo

ds-assignment-1's Introduction

Serverless REST Assignment.

Name: Göktuğ YEŞİLYURT

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

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 the specified movie.
  • GET /movies/{movieId}/reviews?minRating=n - Get the reviews for the specified movie with a rating greater than the minRating.
  • GET /movies/{movieId}/reviews/{reviewerName} - Get the review written by the named reviewer for the specified movie.
  • 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.

More details of these endpoints can be found in EXTENDED_README.md file.

Auth Endpoints on AWS

App API Endpoints on AWS

Authentication.

Independent learning.

Here is the screenshot of the IAM Role that is used exclusively by the GetTranslatedReviewerReviewOfMovieFn and generated automatically upon deployment of the stack. This role is necessary because normal execution role does not have permission to use Amazon Translate, so this role is created and then used when executing the translation endpoint to make sure that endpoint can run properly, and no manual interaction with the IAM is required.

ds-assignment-1's People

Contributors

msteknoadam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.