IgorVolochay 99867cef80 feat: creating FastAPI routes for working with cards
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)
2025-02-25 19:11:35 +03:00
2025-02-15 16:55:58 +03:00
2025-01-23 14:51:12 +03:00
2025-02-15 16:24:00 +03:00
2025-02-19 16:19:47 +03:00

this OR that

Telegram mini-app where you have to choose one of two things.

Installation

  1. Installing the repository:
git clone https://github.com/IgorVolochay/thisORthat
  1. 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
  1. 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
S
Description
thisORthat (TORT) - Telegram mini-app where you have to choose one of two things
https://t.me/thisorthat_rubot?startapp
Readme GPL-3.0
392 KiB
Release 1.0
Latest
2026-09-09 08:45:32 +00:00
Languages
Python 58.5%
JavaScript 26.5%
CSS 14.1%
HTML 0.5%
Erlang 0.4%