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. ๐Ÿš€

SurveyJS custom survey software

Simplify data collection in your JS app with a fully integrated form management platform. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more. Integrates with any backend system, giving you full control over your data and no user limits.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more