rre
rre
TTCTheo's Typesafe Cult
Created by rre on 11/17/2024 in #questions
Where to host a static website for my company?
Got a company website I want to host, wondering where to host it Anyone have an idea if for example Github Pages is good enough? Stack is vanilla js, html, css, so veery lightweight and has a couple different views only. Noob question
10 replies
TTCTheo's Typesafe Cult
Created by rre on 1/28/2024 in #questions
Using Azure App Service with create t3 app
Hey, noob question. I am trying to deploy my app to Azure App Service. I have hooked the Azure App Service to my GitHub repo and it tries to npm install and build it. The problem here is that since I don't have my ENV variables in GitHub, the build fails. How do I go on about fixing this? The reason I ask this is because in my Azure App Service I configure my ENV variables for my environment. Should I also configure them into GitHub Secrets or how do I go on about solving this?
3 replies
TTCTheo's Typesafe Cult
Created by rre on 1/17/2023 in #questions
React Query: useQuery
So I am trying to implement pagination with React Query. Been reading a lot of docs and examples. In many examples, the useQuery data has a "hasMore" property. I don't have this..? When I log data, it's not there. So is there any way for me to know that the next page is the last page..?
4 replies
TTCTheo's Typesafe Cult
Created by rre on 1/6/2023 in #questions
PNMP and NPM
I've read up on this a bit but could someone drill it down for me? pnmp doesn't install anything unless specificed in package.json, does this mean you have to manually write the package to package.json so it installs it? I also read something about pruning being different with pnpm. Can someone give a quick run down on why pnpm and why not. Cheers
4 replies
TTCTheo's Typesafe Cult
Created by rre on 1/5/2023 in #questions
Pagination for multiple items
Let's say I have 100 000 rows of data in my database and I have a REST API to query these. Obviously I can't query the 100 000 rows at once so ideally I want to have around 25 rows in my UI present and 25 on the next page and so on. Question is, how to do this in an efficient way? How to request the right amount from the server and so on Thanks
79 replies
TTCTheo's Typesafe Cult
Created by rre on 9/25/2022 in #questions
How to start with learning backend slash cloud
title. how would i go on about starting to learn the musts of backend/infra? ive only been employed for 5 months as a trainee now and been doing like 60% frontend. my backend knowledge is limited to nestjs and nodejs. nothing else. would like to learn docker, cloud stuff, all related to this. anyone has any suggestions? any "pros" here that started their journey from scratch? cheers i appreciate all the help. finding theo's channel was an amazing thing, learned so much in such a short time
66 replies