hollali / hotel-management

Hotel Management Web Application
MIT License
0 stars 0 forks source link
nextjs sanity stripe

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

Technologies Used

Getting Started

  1. Clone the repository:
    
    git clone https://github.com/hollali/hotel-management.git

Install dependencies:

bash

cd hotel-management npm install

Set 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. License

This 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.