Skip to content

A very simple Django project to demonstrate an API built using Django ReST Framework

Notifications You must be signed in to change notification settings

PraneethKarnena/django-drf-api

Repository files navigation

API demonstration - Django ReST Framework

Sample data has already been inserted. Base API URL: https://testing-19.herokuapp.com/api/

All the requests should be made through HTTP GET method.

  • Get all patients info - /get-patients/ - returns just the name, ID of the patient
  • Get all doctors info - /get-doctors/ - returns name, ID of the doctors
  • Send a friend request to a patient - /send-request/{patient-id}/{doctor-id}/
  • Accept a request - /request/{patient-id}/{doctor-id}/{ACTION} - ACCEPT or REJECT
  • View a patient data - /view-patient/{patient-id}/{doctor-id}/
  • View friends - /get-friends/{patient_id}/{doctor-id}/

Note: No authentication has been implemented for time being

About

A very simple Django project to demonstrate an API built using Django ReST Framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published