finally got telegraf session working with breeze π
successfully installed VSC live share and gotten help
needed help with a pair of extra eyes to see how to efficiently use telegraf session with wizard scenes.
installed @edjopato/telegraf and setup bot internationalization
learning how to use telegrafjs session the proper wayπ
rewrite and proper restructure telegram bot
finished installing moviestorm
add api endpoint for paystack webhook
add new telegram commands(test)
created and verified a new paystack for new project
imagekit(fix endpoint per system environment)
fix zod validation for products and store
i changed PK type for products and stores models to uuid. i used the blitz generate all command the generate resources for them. So I forgot to change their type validations wherever they occur.
Local build now works, hope Vercel's too does.
Local build now works, hope Vercel's too does.
save my lastest cmder aliases online
It can be found at https://gist.github.com/waptik/9caa5c17ea0f535e6066d576c106cb7b
remove final-form and react-final-form
replaced it with react-hook-form
telegram bot: commands come before launch
create helper to upload files to b2 using s3 sdk
remove paymentPlan(with enum) field from Store model in Prisma
it's been removed because i added a subscription model and added a relation to it in the store model.
If the store has a subscription id, then it's on a paid plan else it's on the free plan
If the store has a subscription id, then it's on a paid plan else it's on the free plan
basic interface for subscriptions(green light)
another update on models + migrations
begin sending logs to logflare
using pino-logflare and pino by following logflare docs. Wrote some helpers to help with formatting logs by copying https://github.com/leerob/fastfeedback integration of logflare.
setup api routes and basic stuffs for 3rd party webhooks
got passport-custom working with telegram
instead of writing my own strategy, i used passport-custom and implemented my logic. It now works.
Previously, i used the following options:
1- created my own strategy based on passport-strategy by following steps of https://github.com/mxstbr/passport-magic-login
2- used these packages: passport-telegram-login, passport-telegram-official
Unfortunately these options didn't work because of how blitz handles passport.
A demo of how i did it can be found at https://codesandbox.io/s/awesome-pike-29kiz
Note: I haven't yet updated /integrations/custom/strategy.ts to be in sync with what i have locally, so nothing works there yet.
Previously, i used the following options:
1- created my own strategy based on passport-strategy by following steps of https://github.com/mxstbr/passport-magic-login
2- used these packages: passport-telegram-login, passport-telegram-official
Unfortunately these options didn't work because of how blitz handles passport.
A demo of how i did it can be found at https://codesandbox.io/s/awesome-pike-29kiz
Note: I haven't yet updated /integrations/custom/strategy.ts to be in sync with what i have locally, so nothing works there yet.
add quirrel to my blitz app
Setting up prisma schema: User, Store, Product
implement custom telegram-strategy into my blitz app
this custom implementation is based on https://github.com/Blitss/passport-telegram-official and https://github.com/zaro/passport-telegram-login