Welcome to the MedConsole Pro! a command line interface (CLI) JavaScript project.
- MedConsole Pro is a command line interface (CLI) JavaScript project providing a seamless and secure environment for patients to register and login, along with more features such as viewing available doctors, checking doctor schedules, booking appointments, viewing booked appointments, and logging out.
- User registration.
- User authentication.
- View available doctors.
- Check doctor schedules.
- Book an appointment.
- View booked appointments.
- Logout.
- Exit the program.
-
User Registration:
- New users can complete the registration process by providing essential information, including their name, a unique username, gender, age, contact number, and a secure password.
-
User Login:
- Users can access the system by logging in with their registered unique username and password.
-
View Available Doctors:
- Users can view a list of available doctors within MedConsole Pro, each identified by a unique ID and accompanied by their respective specialties.
-
Check Doctor Schedules:
- Users can choose a doctor, check their schedule, and see available time slots for appointments within MedConsole Pro.
-
Book an Appointment:
-
Users have the flexibility to choose a doctor, pick a preferred time slot from the available options, and seamlessly book an appointment. The application automatically verifies the selected time slot for availability to ensure a smooth scheduling process.
-
Each registered user is allowed to book only one appointment with doctor.
-
-
View Booked Appointments:
- Users can check their booked appointments, with details including patient name, doctor's name, doctor's specialty, and appointment time slot.
-
Logout:
- Users can log out of the MedConsole Pro application.
-
Exit:
- Users can exit the MedConsole Pro application and terminate the program.
JavaScript
Node.js and npm installed
-
Open the Terminal, clone this repository to your local machine using the following command:
git clone https://github.com/krishna-singha/MedConsole-Pro.git
-
Open the folder
MedConsole-Pro
in terminal.cd MedConsole-Pro
-
Install
node_modules
using the following command:npm install or npm i
-
Run the program using the following command:
npm run start
- This project is licensed under the
MIT License
- see the LICENSE.md file for details.
Happy coding! 🚀