Supabase for Typescript Developers - Generate Types with CLI

  Рет қаралды 5,289

makrdev

makrdev

Күн бұрын

Supabase offers a great typescript developer experience with their CLI. You can generate types based on your database schema and inject to the Javascript client library.
- timestamps -
00:00 - Intro
00:29 - Install Libraries
01:38 - Login Supabase Account with CLI
03:10 - Initiate Supabase and Linked with Cloud
05:54 - Generate Types
09:37 - Create Supabase Instance and Inject Types
11:48 - Fetch Data with Supabase Library
19:33 - Relational Types
24:57 - Outro
Source Code: github.com/batuhanbilginn/sup...
Learn more: makr.dev
#supabase #typescript #development #developer

Пікірлер: 35
@Choconyo
@Choconyo 17 күн бұрын
Great tutorial! Thank you so much for making this!
@justabettergamer5643
@justabettergamer5643 11 ай бұрын
Thanks a lot for this video ! I have been looking for this kind of tutorial for like a week, watched 5 hours of tutorials and yours is BY FAR the best one !! Again, thanks a lot !
@zcto414
@zcto414 8 ай бұрын
Finally a great answer on how to set types for nested tables. Thank you
@silv4b
@silv4b 9 ай бұрын
Thanks for this video! really helped me a LOT
@richardhoppe4991
@richardhoppe4991 4 ай бұрын
Really high quality tutorial. Cheers
@developwithjon
@developwithjon 4 ай бұрын
That --linked flag is super key, thanks!
@ChuckKnowles
@ChuckKnowles 8 ай бұрын
great video, sir.
@olekkalashnyk4771
@olekkalashnyk4771 Жыл бұрын
You're doing great guides, please continue
@makrdev
@makrdev Жыл бұрын
Thanks!
@raucheacho
@raucheacho 2 ай бұрын
thanks bro
@mathias2860dk
@mathias2860dk Жыл бұрын
If you keep up with this content you will become big. Nicely done and thanks!
@makrdev
@makrdev Жыл бұрын
Thank you Mathias, it means a lot 🤞
@JonMeyers
@JonMeyers Жыл бұрын
This is awesome! Great job! 🙌
@makrdev
@makrdev Жыл бұрын
Thanks Jon 🤜
@juanrestrepo362
@juanrestrepo362 Жыл бұрын
Very nice guide, thank you so much!
@makrdev
@makrdev Жыл бұрын
Glad it was helpful!
@kang-licheng7973
@kang-licheng7973 Жыл бұрын
Great explanation, I couldn't type gen to work by just following the docs but after watching the video it all worked.
@makrdev
@makrdev Жыл бұрын
Thanks bro, I’m glad you made it 🫶🏼
@danieljohnmorris
@danieljohnmorris 6 ай бұрын
As an addition to this, how to import type for session / user object?
@BusinessAutomatedTutorials
@BusinessAutomatedTutorials Ай бұрын
Bro the font is very small - hard to see.
@jayantrohila
@jayantrohila 11 ай бұрын
your content is good and help me too , can you make sure the audio level a little bit higher in your next video then it will be great otherwise everything perfect
@makrdev
@makrdev 11 ай бұрын
Yeah. This was my one of the first videos. It's better on latest ones.
@ahmedyarkhan7006
@ahmedyarkhan7006 Жыл бұрын
hey i got a question in my terminal login access token is asking for token but when type or try to paste my token it didn't, when I press ctrl + c it leaves the terminal and when i press enter it shows me error of invalid key
@makrdev
@makrdev Жыл бұрын
Just copy your token from dashboard and paste it with ctrl / cmd + v. Your token may not be seen on terminal but it’s okay paste it and press enter.
@ahmedyarkhan7006
@ahmedyarkhan7006 Жыл бұрын
Also when the database asking for password it didn't take any input like password
@ahmedyarkhan7006
@ahmedyarkhan7006 Жыл бұрын
@@makrdev i did it show invalid type type error type something like sbp
@makrdev
@makrdev Жыл бұрын
@@ahmedyarkhan7006 yeah it’s same just copy and paste even though it’s hidden on terminal.
@ahmedyarkhan7006
@ahmedyarkhan7006 Жыл бұрын
@@makrdev if you feel safe i can literally email you the screenshot or with the video
@youneshenni5417
@youneshenni5417 Жыл бұрын
I had to prefix npx to all these commands to make things work.
@nicholassingh138
@nicholassingh138 Жыл бұрын
to do this with sveltekit is such a headache, it wont let me type in my password and then when i leave it blank it says fail to connect
@makrdev
@makrdev Жыл бұрын
I didn’t try it with Sveltkit yet 😑
@MarcosVinicius-cy6wo
@MarcosVinicius-cy6wo Жыл бұрын
when typing the password in your terminal?
Why use Type and not Interface in TypeScript
14:12
ByteGrad
Рет қаралды 195 М.
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 137 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 24 МЛН
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01
Generate SQL with the Supabase Studio locally
9:23
Supabase
Рет қаралды 5 М.
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 391 М.
MLB Weirdest Pitching Styles
9:18
Sporting Videos
Рет қаралды 12 МЛН
Бот для Telegram на Node.js, TypeScript и Telegraf js
40:18
PurpleSchool | Anton Larichev
Рет қаралды 31 М.
6 Different Methods to Create Search in Next.js 13
44:04
makrdev
Рет қаралды 10 М.
Postgres TypeScript Helpers
13:57
Supabase
Рет қаралды 3,5 М.
Rust Data Modelling Without Classes
11:25
No Boilerplate
Рет қаралды 165 М.
I've been using Supabase and I kind of like it
11:25
Web Dev Cody
Рет қаралды 27 М.
What A Day In A Programmers Life Is Actually Like
5:46
Hallden
Рет қаралды 1,6 МЛН
Опять съемные крышки в смартфонах? #cmf
0:50
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 682 М.
Я УКРАЛ ТЕЛЕФОН В МИЛАНЕ
9:18
Игорь Линк
Рет қаралды 24 М.