TouristNest is a web application that serves as a platform for booking hotels and managing bookings. This repository contains the frontend codebase for the TouristNest application.
- User Authentication: Allows users to sign up, log in, and log out securely.
- Hotel Browsing: Enables users to browse through available hotels, view details, and make bookings.
- Booking Management: Facilitates users to view, modify, and cancel their hotel bookings.
- Payment Integration: Supports payment processing for hotel bookings using Stripe.
- Responsive Design: Ensures optimal user experience across various devices and screen sizes.
- React: Frontend JavaScript library for building user interfaces.
- React Router: Routing library for React applications.
- Redux: State management library for managing application state.
- Axios: Promise-based HTTP client for making API requests.
- Tailwind CSS: Utility-first CSS framework for styling the application.
- Stripe Elements: React components for integrating Stripe payment processing.
- Vite: Fast build tool for modern web development.
- ESLint: JavaScript linting tool for maintaining code quality.
- Prettier: Opinionated code formatter for consistent code style.
To set up the frontend locally, follow these steps:
- Clone this repository to your local machine.
- Install dependencies using
npm install
. - Set up environment variables as needed (e.g., API endpoint URL, Stripe API keys).
- Run the frontend development server using
npm run dev
.
If you'd like to contribute to the TouristNest frontend, please follow these guidelines:
- Fork the repository and create a new branch for your feature or fix.
- Make your changes and submit a pull request to the
main
branch of the main repository. - Ensure your code follows the project's coding standards and conventions.
- Write clear and descriptive commit messages.
- Provide thorough documentation for new features or changes.
This project is licensed under the MIT License.