Giter VIP home page Giter VIP logo

movieratingsapp's Introduction

MovieRatingsApp

This project is a movie database application made with Python Flask, PostgreSQL and Bootstrap in addition to CSS and HTML. The app enables browsing, registration, rating, and administration of movies, with features like requesting movie additions, password changes, genre sorting, search functionality, and review management.

Instructions

You can test the application at Fly.io. You might have to refresh the site to get the application running. Accessing admin rights in the application happens with the user in the table above.

Username Password
admin admin

To run the application locally you need to have Python and PostgreSQL installed. Create a .env file in the root directory and specify the database URL and the secret key inside the file, for example as DATABASE_URL=postgresql:///user. After that run the following commands.

# Create virtual environment
$ python3 -m venv venv

# Activate the virtual environment 
$ source venv/bin/activate

# Install the requirements
$ pip install -r ./requirements.txt

# Configure the database
$ psql < schema.sql

# Navigate to the right directory
$ cd src

# Run the application
$ flask run

Features

  • Everyone can see, browse the movies and register an account
  • Users can log in, rate the movies and delete their ratings
  • Users can request a movie to be added to the database
  • Users can change their password
  • Admins can accept the requests and add movies directly themselves
  • Admins can also delete movies and inappropriate ratings
  • Movies can be sorted by their genre
  • Movies can also be searched
  • Users, movies and reviews can not be added with invalid inputs

User experience has been taken into consideration when creating the application, user receiving proper error messages. Application also has safety features, for example invalid inputs, accessing unauthorized pages and passwords are encrypted.

movieratingsapp's People

Contributors

isakpulkki avatar

Watchers

 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.