Skip to content

amonsalv/pruebaapihoteles

Repository files navigation

Hotel Service

This repository contains a hotel service developed in Node.js that uses MongoDB as the database.

Prerequisites

Make sure you have the following installed before getting started:

Configuration

  1. Clone this repository to your local machine:

    git clone https://github.com/your-username/pruebaapihoteles.git
  2. Install project dependencies:

    cd pruebaapihoteles
    npm install
  3. Configure the database connection:

    • Open the config.js file in the root of the project.
    • Update the MongoDB connection URL with your own credentials and configuration.

Usage

  1. Start the server:

    npm start
  2. Access the hotel API:

    • Base URL: http://localhost:3000
    • Refer to the API documentation for more details on available endpoints.

Contribution

If you would like to contribute to this project, follow these steps:

  1. Create a new branch for your contribution:

    git checkout -b feature/new-feature
  2. Make the necessary changes and commit:

    git commit -m "Add new feature"
  3. Push your changes to your remote repository:

    git push origin feature/new-feature
  4. Open a pull request on GitHub and describe your changes.

License

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

Releases

No releases published

Packages

No packages published