Watch adminScheduler in action:
- separate client/admin classes
- admin can accept/reject requests
- client can make requests to different admins
- client receives updates regarding appointment status
- admin can cancel events including accepted requests
- client can also cancel events but not those of admin users
I wanted to develop a desktop application that had the potential to prove useful in a variety of use cases. In its current form adminScheduler is setup to handle to tasks of scheduling a doctor’s office. Users are patients or doctors who can request appointments and accept/reject them based on their associated privileges. However although this project has been set up to handle the needs of a doctor’s office, it can be used in other situations with just a few modifications. The application could be used to manage the appointments of a law office or it could be used to schedule meetings between a tutor and their students. adminScheduler can be used in almost any scenario involving a client and admin relationship.
To run this application you have to follow a number of steps, the app is currently configured to work with a postgres db. However it could be reconfigured to work with other databases.
Initial step: Clone the repository then go to
adminScheduler/clean_server/ and run
npm install, them go to
adminScheduler/scurrent_clean/ and run
npm install and lastly go to
adminScheduler/clean_server/createUserTable and again run
Database Setup steps:
- Create postgres databases named ‘seq’ and ‘doctor’
sequelize.jsto connect with your database
- Configure the connectionString in
setupPg.jsagain and run ‘node setupPg.js’
- go to adminScheduler/clean_server/createUserTable and run ‘node setup.js’
Run the server by going to
adminScheduler/clean_server/resources/app and running
node servertest3.js. Finally run the application by going to
adminScheduler/scurrent_clean/ and running
npm run dev
Client Admin Relationship
If you are using this application for a different kind of client/admin relationship, for example a law office or tutoring service you may need to make some simple changes. So if you have a law office you would make some adjustments changing the users with doctor priveledges into lawyers and users with patient priveledges would become clients. Lawyers would now accept or reject appointment requests from clients and clients view the schedules of different lawyers before choosing the lawyer they would like to schedule an appointment with. In essence you would only have to change the names of some popups, buttons, and edit a couple lines of server code to change this application from one set-up for a Doctor’s office to one for a law office to any sort of business involving a admin/client relationship.
Interested in using adminScheduler in one of your projects? Head to its repository and give it a go.