A Hackfest Project for Movie Reviews. Using this platform ‘Bit Movies’ user can get the information about any movie. User can search for a movie and also give reviews and rating. It allows people who are new to sign up and create a new account whereas people who already have existing accounts can sign in to get the information about a movie. Ratings from various other review websites like IMDB, Rotten Tomatoes and Metacritic are also available. Hence, the user can easily decide whether a movie is good or bad. User can also add the movies and web series to watchlist and watched categories. This will allow the user to search for a good movie.
- Backend Framework: Django
- Frontend Technologies: HTML, CSS, Javascript, Bootstrap
- APIs: OMDB, Cloudinary
- Deployment: Railway
-
Fork and Clone
- Fork the Repo
- Clone the repo to your computer.
-
Create a Virtual Environment for the Project
In Windows
python -m venv env env\Scripts\activate
In Ubuntu/MacOS
python -m virtualenv env source env/bin/activate
If you are giving a different name then
venv
, then please mention it in.gitignore
file first -
Install all the requirements
pip install -r requirements.txt
-
Start a postgres database called 'bit-movies-flc' on default port (5432)
-
Create
.env
in project root folder and add the followingSECRET_KEY=<django_secret_key> DATABASE_URL=<your_database_url> API_KEY=<cloudinary_api_key> API_SECRET=<cloudinary_api_secret> CLOUD_NAME=<cloudinary_cloud_name>
DATABASE_URL
inenv
is in the form ofpostgres://user:pass@host/dbname
SECRET_KEY
can be generated usingget_random_secret_key()
method
from django.core.management.utils import get_random_secret_key print(get_random_secret_key())
- Cloudinary related
env
vars can be accessed by signing up on Cloudinary and opening up the dashboard.
-
Make migrations
python manage.py makemigrations python manage.py migrate
-
Create a super user. In django if you want to access admin page, you need to create an account first.
python manage.py createsuperuser
Then select your username and password.
-
Run server
python manage.py runserver
- Landing Page
- Login Page
- Register Page
- Profile Page
- Edit Profile Page
- Search Results Page
- Movie Info Page
- Ratings Page
- Display Review Page
- Genre Page
Ganesh | Sharan | Vandana | Saachi | Sanjey | Deeksha | Deepika | Pratham | Pavithra |