Skip to content

A RESTful implementation of CRUD API using Django+MySql

Notifications You must be signed in to change notification settings

Sriram-L/RESTful_CRUD_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful_CRUD_API

A RESTful implementation of CRUD API using Django rest_framework + MySql

Installation

Use the package manager pip to install the modules.

Also install MySql server for the MySql database.

Change the DATABASE details in settings.py

pip install -r requirements.txt

Usage

Create the customer database in MySql

Run the manage.py in localhost:8000

python manage.py runserver localhost:8000

Methods

On any web browser, to access the browsable API

GET request

http://localhost:8000/customers/<id>/

PUT request

http://localhost:8000/customers/<id>/

DELETE request

http://localhost:8000/customers/<id>/

POST request

http://localhost:8000/customers/

About

A RESTful implementation of CRUD API using Django+MySql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages