Electronic medical records (EMR) system. Schedule appointments and keep track of patient records.
Demo - u: testuser p: superdog
npm install
- Follow Backend & Frontend steps below
npm run build
npm run start
- In
/backend
folder
pipenv install
- Start pipenv environment
pipenv shell
- Create .env and set the variables
cp backend/.env.example backend/.env
- Setup database
python manage.py migrate
- Create super user
python manage.py createsuperuser
, use this account to log in tolocalhost:8000/admin/
to create more accounts and manage the backend.
- Note that
pipenv shell
is necessary for running any of the installed python packages (like Django) in the cli. Django for examplepipenv shell
->python manage.py [command]
. To exit out of the shell, runexit
.- Alternatively,
pipenv run python manage.py [command]
will also work.
- Alternatively,
- In
/frontend
folder
npm install
- Create .env and set the variables
cp .env.example .env
-
For development mode follow the setup steps, but instead of
npm run build && npm run start
runnpm run dev
-
npm run dev
defaults to ports:3000
for Frontend (React)8000
for Backend (Django)
-
npm run lint
to run linter on frontend -
Backend urls:
- Make sure to include the ending
/
- API Docs:
localhost:8000/docs/
- Admin:
localhost:8000/admin/
- Make sure to include the ending
npm run build
generates these files:frontend/build
&backend/static
npm run start
defaults to port8000