Skip to content

Weekend code project creating a movie database with react/redux/sagas

Notifications You must be signed in to change notification settings

8bitcoffee/prime-week17-weekend-project-sagas

Repository files navigation

Movie Library

Description

Duration 2 weeks

The project was to create an app where you could add movies from your collection and filter them by genre. With digital purchases being all over the place, sometimes you forget that you might have a movie when you're looking for something to watch. This allows you to add movies to your current library and sort by genre. Current iteration just adds it with a description, movie poster, and genres. A long-term goal would be able to link current subscriptions to the app so you can auto-load purchases with a direct link to its location.

Screenshots

screenshot number 1


screenshot number 2

Prerequisites

Installation

  1. Create a PostgreSQL database with name: saga_movies_weekend
    • Port is set to 5432 by default
    • Change here to specify new port
  2. Create the tables listed in database.sql
    • Optional example data is provided there as well
  3. Get an API key from TMDB if you don't already have one.
  4. Create .env in the route directory.
  5. Make your API key equal TMDB_API_KEY
    • Example: TMDB_API_KEY = q2389748923wsdfkjsjkdhfiusady8
  6. Open a terminal to the repo location and run npm install.
  7. Run npm run server in your terminal.
    • Server is set to 5002 by default
    • Change here and here to set new port on localhost
  8. Run npm run client in your terminal
  9. npm run client should open a browser window to the project for you.

Usage

Go to the add page. Search for the movies you want to add. Add them to your library and enjoy!

Built with

Acknowledgement

Thanks to Prime Digital Academy who equipped and helped me to make this application a reality, Chris Black for instruction, and TMDB for having a free tier for devs like me!

Support

If you have suggestions or issues, please email me at [email protected]

About

Weekend code project creating a movie database with react/redux/sagas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published