API implementation of demo IMDB data
$ git clone https://github.com/wasi-m/IMDB_REST_API.git
Change dir to project dir
$ cd IMDB_REST_API
setup the virtual environment
$ virtualenv venv
Activate the virtual environment
$ source venv/bin/activate
Install the requirements.txt
$ pip install -r requirements.txt
Start the Server
$ python manage.py runserver
Vola! your REST API is running
Open the local server in browser
http://127.0.0.1:8000
Give all the records present in the Database.
http://127.0.0.1:8000/1
Give the reecord with primary key as 1.
Navigate to the admin
http://127.0.0.1:8000/admin
Login details ID: admin Password: restapi
The admin panal for creating, editing and deleting records.