/HMS

Hospital Management System using NodeJS, ExpressJS & mySQL

Primary LanguageEJS

Hospital Management System using M.E.N. stack

A web application built using NodeJS, ExpressJS & MySQL for Patients and Doctors.
A Patient can request for appointments for various department, check upcoming appointments, cancel them and check his prescription history.
A Doctor can assign a time to the requested appointment(s) of patient(s), assign rooms to inpatient in case of necessity, cancel appointments and outpatient current inpatients.
An Admin can add/remove/view the rooms as well as the doctors in the hospital.

Technologies used:

NPM NODEMON NODEJS EXPRESSJS HTML5 CSS3 MYSQL JAVASCRIPT GIT BOOTSTRAP

Features:

  • Package managing using NPM
  • Email verification using Nodemailer
  • Localization using i18n
  • User authentication using PassportJS
  • User ID generated using UUID
  • Implemented Middleware to verify logged in user while redirecting
  • CRUD operations using Express Router
  • Used EJS templates for rendering, communication between backend & frontend
  • Stored user login seesions using Express-Session
  • Encrypted user passwords into database using bcrypt

Changelog:

  • added more varaibles to the config.env
  • Localization (for now only patient ui and some pages)
  • removed any service about rooms from the ui (for bugs and non necessity)
  • fixed nodemailer service

Todo:

  • add dockerfiles to ease deployments
  • write better api documentation using swagger

Configuration:

Please configure your database connection, secret key, lang, email and port in 'backend/API/config/config.env'