Giter Site home page Giter Site logo

rathore-yash121 / api-example-django Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drchrono/api-example-django

0.0 1.0 0.0 396 KB

drchrono API example using django

Home Page: https://www.drchrono.com/api/

Python 46.52% HTML 39.29% CSS 9.99% JavaScript 4.20%

api-example-django's Introduction

drchrono Hackathon

Requirements

Setup

$ pip install -r requirements.txt
$ python manage.py runserver

social_auth_drchrono/ contains a custom provider for Python Social Auth that handles OAUTH for drchrono. To configure it, set these fields in your drchrono/settings.py file:

SOCIAL_AUTH_DRCHRONO_KEY
SOCIAL_AUTH_DRCHRONO_SECRET
SOCIAL_AUTH_DRCHRONO_SCOPE
LOGIN_REDIRECT_URL

EMAIL_HOST_USER
EMAIL_HOST_PASSWORD

Features

  • Created a django application for the doctors to wish their patients on their birthdays.
  • Provided a cool UI which syncs a little with drchrono UI.
  • Login page provides the option of user authorization through Drchrono login credentials.
  • Dashboard: A personalized page for each Doctor to view today's birthdays. Other tabs include Messages, Appointments and Usage- all of which are just dummy tabs and also the nav-bar items- Home, About, Projects, Contact.
  • Birthdays Today tab shows the list of all patient's who have a birthday on the current day according to US/Pacific time zone.
  • User gets the option to select the patients he/she wants to wish provided they have their email ids stored in the drchrono database.
  • User can add a subject or even leave it blank, in which case the default subject message would be used, i.e. "Happy Birthday from Dr. X" (PS: 'X' is the last name of the doctor).
  • User can customize the email message. The default message is - "Hi, Many Many Happy Returns of the day! We would like you to know that your next check-up is on us. Book your appointment today! :) - DrChrono team".
  • User can even discard these above changes and chose not to send any email or change his selected patient's list.
  • On submitting, an email is sent to all the selected patients instantaneously.
  • Since this is a mass email sending, the recipient list is added in the bcc, just to make things look more personalized from the patient's perspective.
  • Finally the User can logout, for security reasons ofcourse. :)

Demo video url - https://youtu.be/ExtSmiS2ppU

api-example-django's People

Contributors

rathore-yash121 avatar sangelone avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.