MENU

Fun & Interesting

Next.js with a separate server - good idea?

ByteGrad 84,000 1 year ago
Video Not Working? Fix It Now

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/professional-react-nextjs πŸ‘‰ NEW React & Next.js Course: https://bytegrad.com/courses/professional-react-nextjs πŸ‘‰ Professional JavaScript Course: https://bytegrad.com/courses/professional-javascript πŸ‘‰ Professional CSS Course: https://bytegrad.com/courses/professional-css πŸ‘‰ 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 Note that my videos may contain mistakes. Always verify yourself that your code is safe and does what you want it to do for your specific situation. You agree by watching the videos that you are solely responsible for any mistakes in your code. This channel and all its content is owned & operated by ByteGrad Sp. z o.o. with Tax ID: PL6762676561 . . TOP resource to LEARN AI for Developers - https://datacamp.pxf.io/RGyxrR (paid sponsorship & ByteGrad Sp. z o.o. gets commission)

Comment