Skip to content

EricNavar/better-watch-saul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Better Watch Saul

This is an app for watching season 5 of Better Call Saul.

This isn't piracy because I only did it to practice S3 and Cloudfront and MongoDB

maxresdefault

Architecture

Better Watch Saul(2)

  • This is a MERN stack web app. The backend is deployed on AWS Lambda and API Gateway with the Serverless framework and the frontend is deployed on AWS Amplify.
  • Serverless creates a cloudformation stack which creates a lambda function accessible by api gateway
  • Serverless is configured by serverless.yml
  • The lambda function is an express app. Instead of having the app listen you wrap it in this serverless function. It connects to MongoDB with Mongoose.
  • MongoDB stores data for each episode, including a link to the video source provided by cloud front.
  • The videos are stored on s3 and then made more accessible through cloudfront

Testing Lambda Locally

in /better-watch-saul-api directory, type

serverless invoke local --function api --path="tests/getTrack.json"

serverless invoke local --function api --path="tests/getTracksFromSeason.json"

Contributing

This repository is open to contributions

About

A website where you watch Better Call Saul season 5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published