vasgg / orderobot Goto Github PK
View Code? Open in Web Editor NEWWIP. Телеграм бот для оформления заказов и поиска исполнителей (aiogram3)
WIP. Телеграм бот для оформления заказов и поиска исполнителей (aiogram3)
Избавиться от открывания новой сессии при добавлении нового пользователя в БД (AuthMiddleware)
(например, ник в Telegram, ссылка t.me, номер телефона, эл. почта и прочее)
SELECT orders.customer_id AS orders_customer_id, orders.name AS orders_name, orders.status AS orders_status, orders.budget AS orders_budget, orders.description AS orders_description, orders.link AS orders_link, orders.worker_id AS orders_worker_id, orders.id AS orders_id, orders.created_at AS orders_created_at, users_1.telegram_id AS users_1_telegram_id, users_1.username AS users_1_username, users_1.fullname AS users_1_fullname, users_1.balance AS users_1_balance, users_1.freelance_rating AS users_1_freelance_rating, users_1.customer_rating AS users_1_customer_rating, users_1.id AS users_1_id, users_1.created_at AS users_1_created_at, users_2.telegram_id AS users_2_telegram_id, users_2.username AS users_2_username, users_2.fullname AS users_2_fullname, users_2.balance AS users_2_balance, users_2.freelance_rating AS users_2_freelance_rating, users_2.customer_rating AS users_2_customer_rating, users_2.id AS users_2_id, users_2.created_at AS users_2_created_at
FROM orders JOIN applications ON orders.id = applications.order_id LEFT OUTER JOIN users AS users_1 ON users_1.id = orders.customer_id LEFT OUTER JOIN users AS users_2 ON users_2.id = orders.worker_id
WHERE orders.customer_id != %(customer_id_1)s AND orders.status = %(status_1)s AND applications.freelancer_id != %(freelancer_id_1)s
order_controllers
s119
in file types.py create enums for user modes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.