99867cef808e3a73c814ce0822d70dd1b5037513
Added 3 routes: - add_card (add a card via POST request with AddCardBody scheme) - get_card (get a specific card by card_id) - get_random_cards (get 10 random cards)
this OR that
Telegram mini-app where you have to choose one of two things.
Installation
- Installing the repository:
git clone https://github.com/IgorVolochay/thisORthat
- The project is written in Python3.9. Make sure you have it on your system. Go to the project folder, create a virtual environment and download pip requirements:
cd ./thisORthat
python3.9 -m venv venv
source ./venv/bin/activate
pip3 install -r requirements.txt
- Installing MongoDB database. You can use the official manual to install MongoDB manually, or use a Docker image to run the container:
docker run --name mongodb -d -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=user -e MONGO_INITDB_ROOT_PASSWORD=pass mongodb/mongodb-community-server
Description
thisORthat (TORT) - Telegram mini-app where you have to choose one of two things
https://t.me/thisorthat_rubot?startapp
392 KiB
Releases
1
Release 1.0
Latest
Languages
Python
58.5%
JavaScript
26.5%
CSS
14.1%
HTML
0.5%
Erlang
0.4%