Skip to content

wasi-m/IMDB_REST_API

Repository files navigation

IMDB_REST_API

API implementation of demo IMDB data

Setup

$ 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

Testing the API

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.

About

API implementation of demo IMDB data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages