oldcoder
Explore posts from servers❔ Web stack and connecting C# backend w/ Next.js frontend
for your auth question: you can use dotnet auth for backend and no auth for frontend. i also dont recommend jwt method which not much secure. so you can look at AuthN,Z or Microsoft Identity things (complex)
11 replies
❔ Web stack and connecting C# backend w/ Next.js frontend
use a folder structure like:
- appname
- /client
- .git
- --- next app
- /server
- .git
- --- dotnet rest api
then after writing both, deploy each as seperate, like frontend -> vercel, backend -> digitalocean, azure ...
11 replies