Skip to content

AnikaPet/imdb-api.tk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imdb-api.tk

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!


Installation

How to install an instance of this project:

  1. Open terminal and make new directory for project
mkdir project 
cd project
  1. Clone git repository git clone https://github.com/AnikaPet/imdb-api.tk.git
  2. Create and activate virtual enviroment
python3 -m venv .venv
source .venv/bin/activate
  1. Install requirements
cd ap-blog.tk
pip install -r requirements.txt
  1. Apply migrations python3 manage.py migrate
  2. Create superuser python3 manage.py createsuperuser
  3. 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.

About

Simple api using Django Rest Framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published