Giter Club home page Giter Club logo

dots-bot-api's Introduction

dots-bot-api

dots-bot-api is the application that will help to manage logic as the bot backend.

It uses Dots Platform Clients API.

Setup

  • clone this repository.
  • copy .env.example and save as .env.
  • change update the information about the database and the dots api .env: postgres is same name of the service in docker-compose.yaml. Example:
    DB_CONNECTION=pgsql
    DB_HOST=postgres
    DB_PORT=5432
    DB_DATABASE=your_database
    DB_USERNAME=another_user
    DB_PASSWORD=secure_password
    
    DOTS_BASE_URL=https://dotsdomain.test
    DOTS_API_TOKEN=your_api_token
    DOTS_API_ACCOUNT_TOKEN=your_api_account_token
    DOTS_API_AUTH_TOKEN=your_api_auth_token
        
  • if you change the database information in .env, then it must be changed in dots-bot-api/docker/postgres/.env.
  • run sudo docker-compose up -d in the project folder.
  • run sudo docker ps to see that dots-bot-api-nginx bind your host’s port with 80.
  • Now you can setup dots-matrix-bot.

Author

Kostiantyn Klochko (c) 2023

License

Under the GNU Affero General Public License v3.0 or later.

dots-bot-api's People

Contributors

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