Giter Site home page Giter Site logo

flight-searcher-go's Introduction

Flight Searcher - Go

Overview

Flight Searcher is a robust application developed in Go, designed to aid users in discovering the cheapest flights and generating itineraries from Vilnius and Kaunas to all possible destinations, allowing users to browse and get inspired for their next trips.

Installation

  1. Clone the repository:

    git clone https://github.com/prodigeris/Flight-searcher-go
  2. Install the necessary dependencies and create a .env file from .env.example:

    make install
    
  3. After running the install command, configure the .env file by adding your Duffel credentials.

    DUFFEL_TOKEN=<Your Duffel Token>

Setup & Run

This project is configured to run multiple services using Docker Compose, including PostgreSQL, RabbitMQ, Prometheus, Grafana, and several Go components.

Start Services:

Navigate to the project's root directory and start all services.

docker-compose up -d

This command will start all the services defined in the docker-compose.yml file in detached mode.

Initialize Database:

The migrate service will automatically handle the database migrations.

Accessing the Services:

Flight Searcher Application: http://127.0.0.1:8383/

Grafana: http://127.0.0.1:3331/

Prometheus: http://127.0.0.1:9090/

Usage

Once the application is running, users can select how many weekends they want to generate the flights for and the app will create itineraries from Vilnius and Kaunas to all possible destinations. It fetches the cheapest flights for these destinations, allowing users to browse and be inspired about where to go next.

Testing

Run the test cases to ensure the functionality of the application.

make test

flight-searcher-go's People

Contributors

prodiger2023 avatar prodigeris avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.