How to Build REST API with Next.js 13, Supabse and Upstash

  Рет қаралды 2,377

makrdev

makrdev

Күн бұрын

In this video we will build a REST API with Next.js 13, Supabase and Upstash. We'll start from scratch, build and protect our API routes. Then, we'll cover advanced topics such as Rate Limiting and CORS.
- timestamps -
00:00 - Intro
00:28 - Supabase Setup
06:49 - Authentication Setup
13:17 - Github Login
18:35 - POST Method
24:08 - Add "todo" Handler
30:49 - GET Method
37:40 - DELETE Method
43:16 - PATCH Method
48:57 - Code Refactor
52:47 - Rate Limiting with Upstash
01:01:41 - CORS
01:09:37 - Outro
Source Code: github.com/batuhanbilginn/sup...
#nextjs #typescript #supabase #upstash #rest #api

Пікірлер: 27
@shasathuo1966
@shasathuo1966 Жыл бұрын
Got a new project writing nextjs api's at work, this is timely thankyou very much
@makrdev
@makrdev Жыл бұрын
Perfect timing! 👌
@jkbrodotdev
@jkbrodotdev Жыл бұрын
How are you outputting so much content so fast?? I can't keep up with all the videos by other Web Dev KZbinrs when there 30+ mins long lmao. Good to see you grinding out content. You got yourself a new sub.
@makrdev
@makrdev Жыл бұрын
I appreciate it bro! Actually, I’m trying to focus on quality rather than quantity. Hearing that from you definitely motivated me though 😎
@wata1991
@wata1991 Жыл бұрын
nice video, but I recommend adding the migration files for a complete replication.
@makrdev
@makrdev Жыл бұрын
Thanks for the tip
@user-ff3lc1et3u
@user-ff3lc1et3u Жыл бұрын
Хороший туториал, спасибо
@makrdev
@makrdev Жыл бұрын
Thank you!
@joshuastories
@joshuastories Жыл бұрын
Amazing
@makrdev
@makrdev Жыл бұрын
Thanks a lot 🤜
@kamil_supabase_enjoyer
@kamil_supabase_enjoyer Жыл бұрын
❤❤❤
@makrdev
@makrdev Жыл бұрын
🤗🤗
@diego0ji
@diego0ji Жыл бұрын
Wow, thanks! Keep it up! Is moonlight your theme?
@makrdev
@makrdev Жыл бұрын
Yeap, it’s moonlight. Thank you 🙏
@eren1514
@eren1514 Жыл бұрын
Great one! and I was watcing on Macbook but it looks like font size so small or I'm getting older :D Also, it would be cool to see mobile content with React Native in the future
@makrdev
@makrdev Жыл бұрын
You are right. It was too late when I realized the font size is too small. I’ll fix it on next videos. Yeah, React Native is definitely an option for next videos. Thanks for your support 🤞
@diego0ji
@diego0ji Жыл бұрын
I think that you can hit lots of view If you do a toutorial about the flow from local development to production, how do migration etc no one did and I think is super important 😊 and you'll do great!!
@makrdev
@makrdev Жыл бұрын
You are looking for a full-stack tutorial from scratch to production, aren’t you?
@diego0ji
@diego0ji Жыл бұрын
🤩🤩🤩🤩 yes
@khantsithu4383
@khantsithu4383 Жыл бұрын
Please make the font size mobile friendly 😁
@makrdev
@makrdev Жыл бұрын
You are right!
@Topsquadjapan
@Topsquadjapan Жыл бұрын
supabase updated there docs for the auth part. Hard to follow along with the changes
@makrdev
@makrdev Жыл бұрын
Yeah, you are right. I need to make another video soon.
@mileicampeonmundial
@mileicampeonmundial Жыл бұрын
isnt better using prisma ?
@makrdev
@makrdev Жыл бұрын
It’s up to you. Also, you can combine prisma and supabase.
@skverskk
@skverskk Жыл бұрын
Can hardly read your screen. Type is way too small
@makrdev
@makrdev Жыл бұрын
Yeap, I forgot to increase font size. Sorry about that 😔
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 44 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 17 МЛН
Build a High-Performance API with Next.js, Hono, Redis (2024)
1:30:00
Josh tried upstash
Рет қаралды 51 М.
🔥 Bento Grid Layouts with Tailwind CSS | Easy 🤯
11:13
Sashank GL
Рет қаралды 7 М.
Semantic Search with Supabase and OpenAI
24:36
makrdev
Рет қаралды 3,6 М.
Tru Narla: Building a design system in Next.js with Tailwind
13:35
How to Build a REST API With Laravel: PHP Full Course
1:49:26
Envato Tuts+
Рет қаралды 243 М.
T3: TRPC, Prisma and NextAuth Done Right
43:14
Jack Herrington
Рет қаралды 91 М.
How to build a REST API with Node js & Express
58:40
Programming with Mosh
Рет қаралды 1,7 МЛН
📱магазин техники в 2014 vs 2024
0:41
djetics
Рет қаралды 568 М.
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 2,3 МЛН
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 542 М.