Python,Django backend webapi
Tested with Python 3, Django 4 , Django REST framework 3
Runs on : http://localhost:5076/
Can be used with Angular frontend demo
API | Description |
---|---|
GET /contact/ | Get all contacts |
GET, POST, PUT, DELETE /contact/{id} | Get, Add, Update, Delete Contact |
Parameter | Type |
---|---|
name |
string |
email |
string |
phone |
string |
# Create a virtual environment to isolate our package dependencies locally
python3 -m venv env
source env/bin/activate # On Windows use `env\Scripts\activate`
pip3 install -r requirements.txt
python3 manage.py runserver
Runs on http://localhost:5076/