GithubHelp home page GithubHelp logo

findbotel's Introduction

findbotel - find a journey of your dream

The bot is currently disabled due to privacy concerns, as the challenge has already concluded

This is a coding project made for a Check24 coding challenge that I've been writting for the last two week of August in some gaps between my exams at the university. This bot is written in python, database is hosted on AWS RDS service (hopefully, they won't charge me too much) and a bot itself is deployed on a Heroku platform. For the libraries, I have used psycopg for the databse connection, flask for the server implementation and pyTelegramBotAPI to make use of Telegram Bot API.

You can try it out online at https://t.me/findbotelbot

What was implemented

  • A basic search of a journey for given dates, places and amount of people
  • A hotel view that is available after a basic search under each found hotel
  • A pagination to navigate through list of airports and all available offers (that was harsh)
  • Payment option is included (unfortunately can't charge money from you but it makes you believe you pay)
  • An option to check a location of each hotel
  • Fast search engine: After deployment of dataset (I haven't even enough space on my computer to download it first) I've started to experiment with the queries and found out that their execution is extremely slow - 104.24 seconds. After some optimization steps, such as correct data formating, indexing the table with a btree index and proper use of SQL operators I've managed to decrease the execution time to 0.0025 seconds, which was fast enough for my purposes. As an idea, I want to implement asynchronous queries to start the search even before receiving all of data but til now I hadn't much time to that.

findbotel's People

Contributors

kshpdr avatar

Stargazers

Roman 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.