Skip to content

software-students-fall2024/5-final-yippee

 
 

Repository files navigation

Web App

Final Project: Movie Recommendation App

Description

A web app that recommends a movie to a user everyday. Users can keep track of the movies they've watched. Experience the app by visiting (https://swe-final-web-app-m232t.ondigitalocean.app/)

Team Members

Container Images for Each Subsystem

  • Web App: Dockerhub
  • MongoDB: Hosted on Mongo Atlas.

How to Configure the Project

Setting Up the Database

Paste the connection string we've sent you over Discord, or set up your own database using Mongo Atlas and copy your connection string into a .env file in the web-app folder with the following format:

MONGO_URI=[your connection string]
MONGO_DBNAME=movie_db

Setting Up the Web App

Build the web app image from the Dockerfile. While in the outermost 5-Final-Yippee directory:

docker build . -t web-app -f web-app/Dockerfile

Now that you have the web-app image (check by running docker images and it should appear in the list), instantiate a new container called webapp:

docker run --name webapp -d -p 5000:5000 web-app

How to Set up Environment Variables

Necessary .env variables for connection to the Mongo database have been described above.

About

software-engineering-fall-2024-5-final-final-project created by GitHub Classroom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 41.1%
  • HTML 39.9%
  • CSS 15.7%
  • Dockerfile 3.3%