da
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v1View latest version
A comprehensive hospital management system built with TypeScript, SQLite, and Bootstrap.
- Patient Management: Register, view, edit, and manage patient records
- Doctor Management: Manage doctor profiles and specializations
- Appointment Scheduling: Book and manage appointments between patients and doctors
- Medical Records: Maintain patient medical history and treatment records
- Department Management: Organize hospital departments and staff
- User Authentication: Secure login system for different user roles
- Backend: TypeScript with Hono framework
- Database: SQLite
- Frontend: HTML, CSS, JavaScript with Bootstrap 5
- Authentication: Session-based authentication
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ ├── auth.ts # Authentication routes
│ │ ├── patients.ts # Patient management routes
│ │ ├── doctors.ts # Doctor management routes
│ │ ├── appointments.ts # Appointment routes
│ │ └── static.ts # Static file serving
│ └── index.ts # Main server entry point
├── frontend/
│ ├── components/ # Reusable UI components
│ ├── pages/ # Individual page templates
│ ├── assets/ # CSS and JS files
│ └── index.html # Main dashboard
└── shared/
└── types.ts # Shared TypeScript interfaces
- The system will automatically set up the database on first run
- Default admin credentials: admin@hospital.com / admin123
- Access the system through the main HTTP endpoint
- Admin: Full system access
- Doctor: Patient records, appointments, medical records
- Nurse: Patient care, basic record updates
- Receptionist: Appointment scheduling, patient registration