Ronmycode / FSJ24-A_Booking-API

1 stars 1 forks source link

Accommodation and Reservation Management System

This project is an accommodation and reservation management application developed with React. It allows users to log in, manage accommodations, and make reservations easily. The application is designed to be deployed in a production environment and uses several React libraries to facilitate form handling, route navigation, and API integration.

[!NOTE] Grupo número 6
Steven Josué Trujillo Cuéllar
Rafael Edgardo Arévalo Vanegas
Mario José Pinto Amaya
Noe Jonathan Landaverde Mira
Ronee Rodriguez
Carlos Alexander Rosales Ascencio --- No participó en la actividad

Main Features

1. User Login

2. Accommodation Management

3. Reservation Management

Technologies and Libraries Used

Installation and Setup

  1. Clone this repository:

    git clone https://github.com/your_username/your_repository.git
  2. Install dependencies:

    • cd your_repository
    • npm install
  3. Set up environment variables for API connections and any required services (e.g., authentication).

  4. Start the development server:

    • npm run dev
  5. Open the application in your browser at http://localhost:3000.

Application Usage

Login: Go to the login form, enter your credentials, and access the application. Accommodation List and Management: Navigate to the Accommodations section to view the current list and use the options to add or update accommodations. Reservations: Go to the Reservations section to view, create, or cancel a reservation. Reservation Calendar: Select an accommodation to view its reservation calendar. Technical Considerations

React Hooks: Hooks such as useState, useEffect, and useContext are implemented for managing the application’s state. Routing: The application includes protected routes to ensure that only authenticated users can access specific sections.

Forms: Forms are validated using Formik or React Hook Form to provide a robust and user-friendly experience. Contribution

To contribute to this project:

  1. Fork the repository.
  2. Create a new branch (feature/new-feature).
  3. Make your changes and commit them (git commit -am 'Add new feature').
  4. Push your branch (git push origin feature/new-feature).
  5. Create a Pull Request.

License This project is licensed under the MIT License. See the LICENSE file for more details.