Coder Social home page Coder Social logo

movie-list-public's Introduction

Movie List

[Advanced] AWS, S3, Api-Gatway, Lambda, RDS, Serverless - Intro full stack project using amazon rds

Objective

You will be creating a full stack application. A client will be able to make HTTP requests to a PostgreSQL database through Amazon RDS.

Project Example

movie list

Prerequisites

  • Basic understanding of API's.
  • Basic understanding of JSON.
  • Basic understanding of AWS Lambda
  • Basic understanding of Amazon S3
  • Basic understanding of Amazon API-Gateway
  • Basic understanding of Serverless & CLI
  • Basic understanding of AWS CLI
  • Basic understanding of PostgreSQL
  • Basic understanding of HTTP Methods

Setup

  • Fork and Clone Repo
  • Create serverless template
  • Create package.json file
  • npm install pg
  • npm install pg-pool

File Structure

movie-list
|
+-- public
|    |
|    +-- edit
|    |   |
|    |   +-- edit.js
|    |   +-- edit.html
|    |   +-- edit.css
|    +-- post
|    |   |
|    |   +-- post.js
|    |   +-- post.html
|    |   +-- post.css
|    +-- index.html
|    +-- index.js
|    +-- index.css
+-- routes
|    |
|    +-- get.js
|    +-- post.js
|    +-- update.js
|    +-- delete.js
+-- test-data
|    +-- delete.json
|    +-- post.json
|    +-- update.json
+-- config.json
+-- node_modules
+-- .gitignore
+-- package-lock.json
+-- package.json
+-- serverless.yml

Back-End

Connect to remote AWS RDS Postgres

  • When connected to your database, create a table with the following columns:

    • movie_id
    • movie_title
    • movie_year_released
    • movie_genre
  • Create GET, POST, PUT, DELETE routes

Front-End

  • Homepage should GET all movies from backend
  • Create a link that directs you to a POST form
  • Create a link that directs you to EDIT form

HINT Use Local Storage to save movie_id when you redirect to EDIT form

movie-list-public's People

Contributors

tylernchls avatar

Watchers

 avatar  avatar  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.