<DxD/>
Explore posts from serversNeed help how to send headers in trpc
project is setup with express on 2 parts,cleint and server
i have this pice of cod in client side here i send a small obj(email,password,confirm password) to create an user ,, this is my context and my middleware
17 replies
Can set cookie with trpc?
I tried to create a full authentication system in trpc using jwt and refresh token
I find that is not quite okay to create authentication with trpc
Can you suggest me a better way how I can achieve authentication in trpc project ?
43 replies
How can i modify my URL using TRPC
I did a simple pagination in react and trpc(a simple table), only problem is that: i want in my url to show page and limit whenever i modify it(like this
.../human-resource/employee&limit=2&skip=5)
How can i do this ?
5 replies
TRPC EXPORT API TYPES BE to FE
Is there a way I can automatically export my API types from the backend to the frontend? For example, after I modify my backend (e.g., create a new route), do I need to run something like 'trpc-api-export,' and will everything generated in my 'dist' folder be copied and placed in the 'api/api-types' folder on the frontend? Is there an automated way to do this?
8 replies