Simple API using Django Rest Framework.
This is API for receiving information about movies, actors, cast information and user management. There are 3 types of users: anonymous user, registered user and superuser. Anonymous user can brows through movies and see reviews and information about cast. Registered user has their own profile and can leave reviews or add movies to their watchlist. Superuser can manage content on the website. See application and docs here!
How to install an instance of this project:
- Open terminal and make new directory for project
mkdir project
cd project
- Clone git repository
git clone https://github.com/AnikaPet/imdb-api.tk.git
- Create and activate virtual enviroment
python3 -m venv .venv
source .venv/bin/activate
- Install requirements
cd ap-blog.tk
pip install -r requirements.txt
- Apply migrations
python3 manage.py migrate
- Create superuser
python3 manage.py createsuperuser
- Run server
python3 manage.py runserver
Your instance is running at http://127.0.0.1:8000/ Change DEBUG = False to DEBUG = True in settings.py file.