sen.py
sen.py
TTCTheo's Typesafe Cult
Created by Vilian on 8/28/2023 in #questions
Running migrations on startup
I've seen projects usually ask you to run separate migration commands to handle this if self hosting. Unless data is properly backed up you should never do this. Especially if a person running an update doesn't know, you might just warn the user to always backup data before updating but people sometimes ignore this. So second step to migrate is explicit reminder. I usually have every thing as service in docker
49 replies
TTCTheo's Typesafe Cult
Created by Vilian on 8/28/2023 in #questions
Running migrations on startup
Depends on platform you want to make this hostable? Probably not good idea to run migration in server start.
49 replies
TTCTheo's Typesafe Cult
Created by koshchei on 8/28/2023 in #questions
Password hashing
bcrypt with bcryptjs lib doesn't work?
5 replies
TTCTheo's Typesafe Cult
Created by LeisureLlama on 8/20/2023 in #questions
Struggling to Integrate Stripe for Payments in TypeScript Next.js E-Commerce App
I think you're looking for something like this. Typical flow would be 1. Create product with stripe and it's prices 2. When you want checkout create a session and redirect user to that session using stripe-js. https://stripe.com/docs/checkout/quickstart?client=next
5 replies
TTCTheo's Typesafe Cult
Created by limeey on 8/22/2023 in #questions
Tips for incremental migration from jquery to react?
Hope this helps, I you need help on this feel free to tag me
19 replies
TTCTheo's Typesafe Cult
Created by limeey on 8/22/2023 in #questions
Tips for incremental migration from jquery to react?
There is still one backbone screen that now mounts inside react screen which is funny considering that's how rewrite started using react inside backbone router.
19 replies
TTCTheo's Typesafe Cult
Created by limeey on 8/22/2023 in #questions
Tips for incremental migration from jquery to react?
It's still shitshow pure react, but better than backbonejs.
19 replies
TTCTheo's Typesafe Cult
Created by limeey on 8/22/2023 in #questions
Tips for incremental migration from jquery to react?
We pretty much succesfully rewrote our entire dashboard into react from backbone jquery, I was the one who did last part of combining using React Router
19 replies
TTCTheo's Typesafe Cult
Created by limeey on 8/22/2023 in #questions
Tips for incremental migration from jquery to react?
but managing state between both will be nightmare
19 replies
TTCTheo's Typesafe Cult
Created by limeey on 8/22/2023 in #questions
Tips for incremental migration from jquery to react?
There is also two application method where you start writing totally different app ex. Nextjs one and just redirect user when they access part that has been rewritten in next.js <-- this is more preffered as you get to basically do complete rewrite one by one
19 replies
TTCTheo's Typesafe Cult
Created by limeey on 8/22/2023 in #questions
Tips for incremental migration from jquery to react?
Once you're done you will have all react screens with php skeleton serving it. And at that moment you finally use some kind of router to bring them all toghether
19 replies
TTCTheo's Typesafe Cult
Created by limeey on 8/22/2023 in #questions
Tips for incremental migration from jquery to react?
No description
19 replies
TTCTheo's Typesafe Cult
Created by limeey on 8/22/2023 in #questions
Tips for incremental migration from jquery to react?
If time is concern you can do screen by screen migration. Where you start with one screen and all of its components and mount it when you navigate to that page. Once you get all screen now you just switch to your proffered router. While this is going on you also dont make anything new in php/jquery. Initial setup might take lil time but then every screen is pretty easy. But if you have time and engineers you can pause features and just do one whole rehaul
19 replies
TTCTheo's Typesafe Cult
Created by Sawaid on 8/17/2023 in #questions
Does anyone knows how Ping.gg works? (Conversation sidelined)
Sure
127 replies
TTCTheo's Typesafe Cult
Created by Sawaid on 8/17/2023 in #questions
Does anyone knows how Ping.gg works? (Conversation sidelined)
This conversation is so sidelined we can probably start new channel
127 replies
TTCTheo's Typesafe Cult
Created by Sawaid on 8/17/2023 in #questions
Does anyone knows how Ping.gg works? (Conversation sidelined)
Only language and GitHub copilot nothing fancy
127 replies
TTCTheo's Typesafe Cult
Created by Sawaid on 8/17/2023 in #questions
Does anyone knows how Ping.gg works? (Conversation sidelined)
Windows, vscode
127 replies
TTCTheo's Typesafe Cult
Created by Sawaid on 8/17/2023 in #questions
Does anyone knows how Ping.gg works? (Conversation sidelined)
Don't worry u will find plenty libraries with react than plain js ones, it truly has become jQuery of our time
127 replies
TTCTheo's Typesafe Cult
Created by Sawaid on 8/17/2023 in #questions
Does anyone knows how Ping.gg works? (Conversation sidelined)
Calcom also uses trpc
127 replies
TTCTheo's Typesafe Cult
Created by Sawaid on 8/17/2023 in #questions
Does anyone knows how Ping.gg works? (Conversation sidelined)
I think people setup their own packages or something
127 replies