https://github.com/animeshry/eradb
Build your local Movie Database
https://github.com/animeshry/eradb
bootstrap4 django movie-database omdb-api
Last synced: 4 months ago
JSON representation
Build your local Movie Database
- Host: GitHub
- URL: https://github.com/animeshry/eradb
- Owner: AnimeshRy
- License: mit
- Created: 2021-05-03T13:22:14.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-23T11:19:01.000Z (about 4 years ago)
- Last Synced: 2023-03-07T21:31:07.069Z (over 3 years ago)
- Topics: bootstrap4, django, movie-database, omdb-api
- Language: Python
- Homepage:
- Size: 5.83 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🍿 EraDB
Movie Database with Django and Bootstrap 4
## ⚡ Features
🎯 **OMDb API** - Utilize the extensive omDB API
🎯 **Inject MovieData** - Inject Movie Data if not locally available
🎯 **WatchList** - Add and manage movies, series etc to seperate user watchlist
🎯 **Sort by Actor's and Genre's** - Sort locally movie data based on actor and genre.
🎯 **Reviews and Comments** - Add a review for a movie and other users can like, dislike or comment on the review.
## 🚀 Setup
These instructions will get you a copy of the project up and running on your local machine for deployement and development.
You'll need [Git](https://git-scm.com) and [Python 3.8+](https://www.python.org/downloads/) installed on your local computer.
```
python@3.8 or higher
git@2.17.1 or higher
```
You can also use the [Zip](https://github.com/AnimeshRy/eraDB/archive/refs/heads/main.zip) file and extract the folder.
## 🔧 How To Use
From your command line, clone and deploy:
```bash
# Clone this repository
$ git clone git@github.com:AnimeshRy/eraDB.git
# Go into the repository
$ cd eraDB
# Install dependencies
# if Pipenv available ? run
$ pipenv install
# Else
$ pip install -r requirements.txt
```
## 📨 Environment Setup
```bash
# You need some environment variables to setup.
touch .env
# replace string with a random string
SECRET_KEY={string}
DEBUG=True
omdbKey={omdbAPIKey}
# Create media directory
mkdir media
```
Get your omdb API Key from [here.](http://www.omdbapi.com/)
## 🛠️ Django Setup
After installing the requirements, we'll need to setup some Django commands.
### Perform database migration:
```bash
python manage.py check
python manage.py migrate
```
### To Create Admin Account
> You can also create a account from the Signup page
```bash
python manage.py createsuperuser
# follow instruction
```
### Run Development Server
```bash
python manage.py runserver
```
Navigate to [http://localhost:8000/](http://localhost:8000/) endpoint in your browser.
Admin endpoint is at http://127.0.0.1:8000/admin/
## 📄 License
This project is licensed under the MIT License - see the [LICENSE.md](./LICENSE) file for details
## Important
- This project is just meant as a little side project and is not meant as a disrespect towards existing movie databases.
- The project will not be maintained, anyone can clone and have fun with it.
- **There isn't any point in deploying this app as the API calls are limited and the database gets populated very fast based on every unique movie click**.
## 👨💻 Thanks
- [OMDb API](http://www.omdbapi.com/)
- [Bootstrap 4](https://getbootstrap.com/)
- [Django 3](https://docs.djangoproject.com/en/3.1/releases/3.0/)
- [SQLite3](https://www.sqlite.org/index.html)
#### Designed & Developed with 💙 by [Animesh Singh](https://www.github.com/AnimeshRy)