Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hollali/hotel-management
https://github.com/hollali/hotel-management
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hollali/hotel-management
- Owner: hollali
- License: mit
- Created: 2023-12-28T11:00:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-13T20:17:14.000Z (10 months ago)
- Last Synced: 2024-03-14T15:15:58.964Z (10 months ago)
- Language: TypeScript
- Size: 217 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hotel Management System
This is a full-stack web application for managing a hotel's operations, built using Next.js, React, TypeScript, Sanity.io, Tailwind CSS, and Stripe.
## Features
- **Dashboard:** View important metrics and summaries of hotel operations.
- **Reservation Management:** Manage room reservations, including creating, editing, and canceling reservations.
- **Room Management:** Add, update, and remove rooms, including details such as room type, availability, and pricing.
- **Customer Management:** Maintain customer records, including contact information and reservation history.
- **Staff Management:** Manage staff accounts, roles, and permissions.
- **Billing and Invoicing:** Generate and manage invoices for room bookings and additional services.
- **Reports:** Generate and view reports on occupancy rates, revenue, and other key metrics.
- **Payment Processing:** Accept online payments for room reservations and services using Stripe.## Technologies Used
- **Frontend:**
- Next.js: React framework for server-rendered applications.
- React: JavaScript library for building user interfaces.
- TypeScript: Typed superset of JavaScript for improved code quality and maintainability.
- Tailwind CSS: Utility-first CSS framework for styling the UI.
- Stripe: Payment processing platform for accepting online payments.- **Backend:**
- Node.js: JavaScript runtime environment.
- Express.js: Web application framework for Node.js.
- MongoDB: NoSQL database for storing application data.
- GraphQL: Query language for APIs, used for fetching data from Sanity.io.## Getting Started
1. **Clone the repository:**
```bash
git clone https://github.com/hollali/hotel-management.gitInstall dependencies:
bash
cd hotel-management
npm installSet up Sanity.io:
Create a new project on Sanity.io (https://www.sanity.io/)
Follow the instructions to set up your schema and populate initial data.
Update the .env.local file with your Sanity.io project ID and dataset name.Set up Stripe:
Create a Stripe account (https://stripe.com/)
Obtain your Stripe API keys (publishable and secret) from the Stripe dashboard.
Update the .env.local file with your Stripe API keys.Start the development server:
bash
npm run dev
Open the web application:
Visit http://localhost:3000 in your web browser to access the hotel management system.Deployment
To deploy the application to production, follow these steps:
Build the application:
bash
npm run build
Start the production server:
bash
npm start
Deploy to hosting provider:
Deploy the built application to a hosting provider of your choice (e.g., Vercel, Netlify, Heroku) by following their deployment instructions.Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
LicenseThis project is licensed under the MIT License.
python
Please note that you'll need to set up Stripe integration in your application according to Stripe's documentation to enable payment processing functionality.