Skip to content

el634dev/movie-tracker

Repository files navigation

Movie Tracker

Movie tracker app that helps users track their favorite movies and directors


Table of Contents

Screenshot

Screenshot 2024-03-03 at 7 22 49 PM

Tech Stack

Client
Server
Database

Environment Variables

To run this project, you will need to add the following environment variables to your .env file before running python app.py

DATABASE_URL - set this as the url to your database, start with sqlite:///

SECRET_KEY - set this to something secure

POSTGRES_USER - set this to your username

POSTGRES_PASSWORD - set this to your password, it should be secure

Getting Started

Prerequisites

This project uses pip as package manager which comes pre-installed with Python

Installation

Run Locally

Clone the project using

  git clone

Go to the project directory

  cd movie-tracker-main

Create a virtual enivornment then activate inside of the project directory(folder)

Note this helps create a seperate environment from the global enviornment

  python3 -m venv venv
  source venv/bin/activate

Install dependencies

   pip3 install -r requirements.txt 

Start the server

  python3 app.py

Docker Setup

  • Make sure to have the desktop app and the Postgres app
  • After run docker build -t movie-tracker . then docker compose up inside of the project directory (e.x. movie-tracker-main)

Project Status

Project is: completed

Usage

  • When a user navigates to the homepage, the user can see other users (usernames) and a list of movies and directors
  • A user can click unto a movie which links to the movie detail page and they can edit the details
  • A user can click unto a director which links to the director detail page and they can edit the details
  • A user can also create a director or movie through the Create Director or Create Movie button when a user signs in
  • A user can also add their favorite movies and unfavorite them at anytime and see a list of their favorite movies in their profile

Features:

  • Authenication and Authorization
  • CRUD Functionality
  • Can add a user profile

License

Distributed under no License.

Demo

Project Link: https://github.com/el634dev/movie-tracker