Code Monkey home page Code Monkey logo

booking-service's Introduction

Cyberclub booking manager

Description

Cyber club services booking application.

Features

  • Minimalistic and understandable interface. For booking devices in cyber clubs.
  • Batch replication mechanism to prevent loosing data, when remote database/API connection fails.
  • S3 automatic backups.
  • Service error notifications to Telegram chanel.

Built with

Getting started

Prerequisites

Dependencies are included into docker image, we took care of it. 

Install

docker pull *herewillbenameofimage*

Configure

  • backups_enabled: Sets S3 backups state. If set to True, backups will be enabled.
  • s3
    • endpoint_url: S3 endpoint URL
    • access_key_id: S3 access key ID
    • secret_access_key: S3 secret access key
    • bucket_name: bucket name where backups will be stored
    • backup_interval: interval between backups
  • telegram_alert_channel_id: Telegram channel ID where API error alerts will be sent
  • booking_services: enable or disable services that will be displayed on your booking website
  • booking_services_count: number of available devices of list of it's names
  • booking_time: time when booking is available (in hours)
  • booking_interval: minimal step of time that can be booked (in minutes)
  • min_booking_time: minimal time to be booked
  • max_booking_time: maximal time to be booked

Usage

docker run -p 8501:8501 *herewillbenameofimage*

Issues

If you got any issues, please, create an issue in this repository.

To-do

  • Telegram integration
  • Dockerizing API and interface
  • Setting up local database deploy (docker-compose)
  • Update interface abstractions to use config.json variables
  • S3 integration
  • Batch replication
  • Remote database/API healthcheck service

License

This project is licensed under the License.

booking-service's People

Contributors

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