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
Navigate to the backend folder:
cd RegistroSalud/backend
Install dependencies:
npm install
Set up the .env file:
PORT=8081
MONGO_URI=mongodb://localhost:27017/myBase
JWT_SECRET=secure_key_xd
Start the server:
npm start
Frontend:
Navigate to the frontend folder:
cd RegistroSalud/frontend
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)