Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship).
👉 Add auth to your Next.js app FAST: https://bit.ly/3QOe1Bh (paid sponsorship)
👉 NEW React & Next.js Course: https://bytegrad.com/courses/professi...
👉 NEW React & Next.js Course: https://bytegrad.com/courses/professi...
👉 Professional JavaScript Course: https://bytegrad.com/courses/professi...
👉 Professional CSS Course: https://bytegrad.com/courses/professi...
👉 Web development roadmap 2024 & 2025: https://email.bytegrad.com
👉 Email newsletter (BIG update soon): https://email.bytegrad.com
👉 Discord: all my courses have a private Discord where I actively participate
👉 Kinde: check out Kinde for auth and more https://kinde.com
⏱️ Timestamps:
00:00 Next.js + server architecture
01:26 Downside of serverless functions
04:19 Benefits of separate server
05:52 Authentication architecture
07:30 Folder structure
08:05 Next.js authentication
12:21 Express API authentication
15:21 Request from Next.js server to Express API
18:05 Request from Next.js client to Express API
19:41 Audience claim
#webdevelopment #programming #coding #reactjs #nextjs
Watch video Next.js with a separate server - good idea? online without registration, duration hours minute second in high quality. This video was added by user ByteGrad 25 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 64,957 once and liked it 1.9 thousand people.