Akash Sharma
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 12/4/2024 in #questions
Network Issue
I want to run my app and call all APIs offline without needing a WiFi network. I’m using Next.js, tRPC, and Express, but when I’m offline or not connected to WiFi, the APIs don’t work. When I connect to any WiFi network (with or without internet), the APIs work instantly. Is there a way to run Next.js offline and call the Express API, which is also running offline? My main goal is to run everything completely offline.
4 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 6/24/2024 in #questions
Issue with Fetching PDF from Uploadthing in the server
I'm trying to fetch a PDF from Uploadthing in the server, but many time it fails. How can I fix this issue so it always fetches the PDF without problems?
Error
1 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 5/20/2024 in #questions
TypeScript Type Mismatch in Microsoft Authentication with Passport
I've created a backend using Microsoft authentication in Express. I'm facing some type errors that are a bit confusing for me.
passport.tsx
custom.d.ts
microsoftRoutes.tsx
req.user possibly 'undefined'
req.user:Express.User
but i want req.user:Express.User && IUser
to fix the type issue2 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 4/13/2024 in #questions
It works locally but doesn't save to the database when deployed on Vercel.
It's working fine on my local machine, but after deploying to Vercel, it's not saving data to the database.
18 replies
TTCTheo's Typesafe Cult
•Created by Akash Sharma on 8/1/2023 in #questions
Can anyone suggest a good library for PostgreSQL similar to Mongoose?
I am learning PostgreSQL with Express. Can anyone suggest a good library for PostgreSQL similar to Mongoose?
7 replies