Skip to content

dennisrosario/king-it-test-hotel-offers

Repository files navigation

King It Test Hotel Offers

This is a Next.js application for displaying hotel offers, containerized using Docker.

Table of Contents

Requirements

Getting Started

  1. Clone the repository:

    git clone https://github.com/dennisrosario/king-it-test-hotel-offers.git
    cd king-it-test-hotel-offers
  2. Configuring environment

    cp .env.example .env

Running the Application

To run the application locally using Docker Compose, follow these steps:

  1. Open a terminal and navigate to the project root directory where your docker-compose.yml file is located.

  2. Use the following command to start the services:

    docker-compose up

    This command will build the Docker images if they are not already built and start the services as defined in your docker-compose.yml.

  3. After the command executes successfully, you can access the application in your web browser at:

    http://localhost:3000
    
  4. To stop the application, you can press CTRL+C in the terminal or run:

    docker-compose down

Building the Docker Image

If you want to build the Docker image without starting the containers, you can use the following command:

docker-compose build

Environment Variables

Make sure to set up the necessary environment variables in your docker-compose.yml or through an .env file as needed for your application to run correctly.

License

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published