DEV Community

Jorge Medina
Jorge Medina

Posted on

šŸš€ Medical Admission System by Specialties

Hello, Dev.to community! šŸ‘‹

Iā€™m excited to share my latest project: Medical Admission System by Specialties ā€“ a web application designed to manage patient medical records efficiently, replacing the traditional paper-based system.

šŸ”¹ Features:

  • User authentication with different roles: Admins, Doctors, Nurses, and Patients.
  • Complete medical record management, including:
  • Patient personal data
  • Medical history
  • Consultation details (diagnosis, physical exam, treatment plan, etc.)
  • Attached files and evolution tracking
  • Appointment scheduling by specialty
  • Role-based user management
  • Modern and responsive UI with JavaScript and Bootstrap
  • REST API powered by Node.js and Express
  • Data storage with MongoDB

šŸ›  Tech Stack:

  • Backend: Node.js, Express, MongoDB, Mongoose
  • Frontend: JavaScript, Bootstrap, Handlebars, jQuery
  • Authentication: JSON Web Tokens (JWT)
  • File Handling: express-fileupload

šŸ“‚ Project Structure:

  • Frontend: Contains the HTML, CSS, and JavaScript for the user interface. To run the login page, use Live Server.
  • Backend: The API built with Node.js and Express.

šŸš€ How to Run:
Backend:
Clone the repo:

git clone https://github.com/jmlc452/RegistroSalud.git  
Enter fullscreen mode Exit fullscreen mode

Navigate to the backend folder:

cd RegistroSalud/backend  
Enter fullscreen mode Exit fullscreen mode

Install dependencies:

npm install
Enter fullscreen mode Exit fullscreen mode

Set up the .env file:

PORT=8081
MONGO_URI=mongodb://localhost:27017/myBase
JWT_SECRET=secure_key_xd
Enter fullscreen mode Exit fullscreen mode

Start the server:

npm start 
Enter fullscreen mode Exit fullscreen mode

Frontend:
Navigate to the frontend folder:

cd RegistroSalud/frontend  
Enter fullscreen mode Exit fullscreen mode

Open index.html (or login.html) with Live Server to view the UI.
šŸ”— GitHub Repository:
šŸ”— https://github.com/jmlc452/RegistroSalud

Iā€™d love to hear your feedback! Feel free to fork the repo, contribute, or suggest improvements. šŸš€

Top comments (0)