The Cruise Ship Management is a web-based system built using Firebase, HTML, CSS (Tailwind), and JavaScript. It allows hospitals to efficiently manage:
- π Secure authentication for Admin and Users
- π¨ββοΈ Doctor and π©ββοΈ Patient records
- π Scheduling of surgeries and OT activities
- π Uploading surgical reports (if needed)
- π Viewing schedules dynamically
Built with minimal UI and maximum functionality in mind β no frameworks required.
- Login / Sign Up
- Order Catering Items (snacks, meals, beverages)
- Order Stationery Items (gifts, chocolates, books)
- Book:
- Resort-Movie Tickets
- Beauty Salon Appointments
- Fitness Center & Equipment
- Party Hall (various event types)
- Login
- Add / Edit / Delete Items
- Manage Menu Items
- Voyager Registration Management
- View all bookings:
- Resort-Movie
- Beauty Salon
- Fitness Center
- Party Hall
- View Ordered Catering Items
- Pass orders to respective kitchen departments
- View Ordered Stationery Items
- Verify and forward requests for delivery
- Voyager logs in using a unique ID.
- Places orders or bookings through the service dashboard.
- Admin manages services and user accounts.
- Manager oversees facility bookings.
- Head-Cook and Supervisor handle the delivery of food and items respectively.
- All actions are logged and stored via Firebase.
- Firebase Authentication for user sign-in/sign-up.
- Firebase Realtime Database stores:
- User data
- Bookings
- Orders
- Logs
To get started with Firebase:
-
Go to Firebase Console
-
Create a project
-
Enable the following:
- π Authentication β Sign-in method β Enable Email/Password
- ποΈ Cloud Firestore β Start in Production Mode
- βοΈ (Optional) Storage β Enable if you want to upload reports/files
-
Create your Firestore structure:
- Collection:
users
- Document ID:
UID
(auto created on register) - Fields:
email
: stringrole
:'admin'
or'user'
- Document ID:
- Collection:
Create a file called public/env.js
with your Firebase app credentials:
window.firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_AUTH_DOMAIN",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_STORAGE_BUCKET",
messagingSenderId: "YOUR_SENDER_ID",
appId: "YOUR_APP_ID"
};
npm install -g firebase-tools
firebase login
firebase init
firebase serve
Then visit: http://localhost:5000
firebase deploy
(You can include screenshots here to show UI, if desired)
Pull requests and contributions are welcome! Please open an issue or PR for improvements or suggestions.
This project is open-sourced under the MIT License.
Create a GitHub issue.