Practitioner Profile Management App is a web application that manages the profile of Hospital Practitioners. This app has login/signup feature that alllows user to authenticate and view all the list of practitioners once authenticated. The practitioner page can only be accessed by the authenticated user.This app has information of practitioner such as fullname, email, contact, dob, working days, working hours and many more. User token is expired in every one hrs and is refreshed automatically without needing to relogin. We can add, edit and delete practitioners and also we can mark practitioners as ICU specialist. ICU specialist are arranged alphabetically and shown at the top of the list while non-ICU Specialist are shown below.
This project is built on ReactJs on frontend and NodeJs with express framework on backend. Database is deployed on mongoDB and for frontend styling Material UI is used. Redux is used for state management. Unit test is done in JEST whereas Cypress is used for end to end testing. Postman is used for design ,build and testing of APIs.
Follow the installation guide below to setup and run this souce code locally on your device.
git clone https://github.com/su-de-sh/hospital-practitioner-management-app.git
Client
cd client
npm install
Server
cd server
npm install
cd server
npm install
and create .env
file that has following:
PORT='YOUR PORT NO.'
MONGODB_URI='YOUR MONGODB URI'
MONGODB_URI_TEST= YOUR MONGODB URI FOR TEST
ACCESS_TOKEN_SECRET="YOUR SECRETS"
REFRESH_TOKEN_SECRET="YOUR ANOTHER SECRETS"
Server
npm run dev
client
npm start
npm run build:ui
npm start
That's it! Now you should be up and running.