/DjangoMedicalStoreManagementSystem

DjangoMedicalStoreManagementSystem Server Side

Primary LanguagePython

DjangoMedicalStoreManagementSystem

Live API URL

https://medicalstoreapi.herokuapp.com/api/

Live Project LINK

https://pacific-falls-18076.herokuapp.com/

Login DETAILS

USername : admin
Password : admin

For Deploy React APP in HEROKU

Signup in HEROKU

https://dashboard.heroku.com/apps

Download Heroku Login

https://devcenter.heroku.com/articles/heroku-cli#download-and-install

Login To Heroku

heroku login

Create Project in Heroku

heroku create PROJECT_NAME

Create runtime.txt

ADD Python Version in this File (E.G python-3.7.4)

Create requirements.txt and Add Libraries

CHECK requirements.txt File

Create Procfile

web: gunicorn PROJECT_LOCATIOn.wsgi --log-file - (E.G : web: gunicorn DjangoMedicalStoreManagementSystem.wsgi --log-file -)

Change Settings.py Setting

First Allowed HOST DOMAIN NAME 
Second ADD Middleware "whitenoise.middleware.WhiteNoiseMiddleware" 
Third ADD CORS_ORIGIN_WHITELIST = ["ADD DOMAIN HERE WITH HTTP URL (E.G : http://localhost:3000)"] 

FOURTH ADD THIS SETTING in settings.py

import dj_database_url
prod_db=dj_database_url.config(conn_max_age=500)
DATABASES['default'].update(prod_db)

##================PROJECT DETAIL============

DjangoMedicalStoreManagementSystem Server Side

For Project Tutorial Please Follow Video : https://www.youtube.com/playlist?list=PLb-NlfexLTk_lsm7qMjMamK51bTAbQ3mH

For Client Side React Project Follow This Link.

Django Medical Store management System Client Side in React JS


ER Diagram

How Django and React Works.