End-to-End TypeScript: Database, Backend, API, and Frontend

  Рет қаралды 24,208

Programmed

Programmed

Күн бұрын

Пікірлер: 37
@mikkelmalmberg3060
@mikkelmalmberg3060 4 жыл бұрын
Great format, Gary! Here's to hoping this channel will become a thing !
@sesgoe
@sesgoe 4 жыл бұрын
Watching you navigate around your codebase using Vim is what I've always wanted to be as a programmer. Might have to pick up Vim...
@seanyohara
@seanyohara 4 жыл бұрын
Funny to see only your hard gestures as you're speaking. Great video, as always! Your blog posts inspired me to use io-ts in a project at work.
@roberthuberdeau7433
@roberthuberdeau7433 3 жыл бұрын
Watching this made me miss the old destroy all software screencasts. Thanks so much for making this!
@vinitkumar2923
@vinitkumar2923 4 жыл бұрын
Finally it is here. Thanks for these videos. Also, like this format. I think DAS videos takes more time, takes to make, so hoping these videos keep on coming.
@ricp
@ricp 2 жыл бұрын
cool way of presenting, explaining this - and the voice is conducive for learning - it reminds me of Sam Harris , great content!
@warmupz
@warmupz 4 жыл бұрын
Made me miss Destroy All Software even more!
@michaelr280
@michaelr280 4 жыл бұрын
You have accurately captured what makes things like typescript great
@viktormalmedal265
@viktormalmedal265 4 жыл бұрын
Great demo! Would love to see more typescript examples in "real" applications :)
@ee7keelt
@ee7keelt 7 ай бұрын
Wouldn't you have your dotfiles for nvim available by any chance?
@yowchun95
@yowchun95 4 жыл бұрын
Thanks Gary for such an awesome video!
@xakonable
@xakonable 4 жыл бұрын
Great format, amazing content, as always!
@nokalko
@nokalko 3 жыл бұрын
How would you roll this out to production? You need to be able to keep everything still running while you are deploying. The client does not share the type definitions but when a running client gets a number instead of a boolean from the API it'll potentially break.
@ChristopherOkhravi
@ChristopherOkhravi 4 жыл бұрын
You have a KZbin channel? :O Instant subscribe.
@rahmadsubekti718
@rahmadsubekti718 3 жыл бұрын
who is him? Sorry, because I didn't familiar with him.
@MichaelMerritt
@MichaelMerritt 4 жыл бұрын
Here to watch you become a youtube GOD.
@imtk
@imtk 3 жыл бұрын
Is it a monorepo with frontend and backend in the same repo? If so, what would be a good approach to use shared types between different repositories (front and backend in separate repos)?
@balotofi
@balotofi 2 жыл бұрын
Yes I think that's the reasoning behind the name monorepo. Maybe having a base file that is identical in both repos where the types can be imported from would be good. Like a general schema
@highwind81
@highwind81 4 жыл бұрын
What's the keyboard?
@philipp7145
@philipp7145 4 жыл бұрын
Durgod Taurus K320 TKL
@RobertoFrobs
@RobertoFrobs 4 жыл бұрын
@@philipp7145 Which switches do you think he's using?
@MikeMannix
@MikeMannix 4 жыл бұрын
@@RobertoFrobs sounds like blue to me
@drew1321
@drew1321 3 жыл бұрын
What keyboard are you using?
@dpassen1
@dpassen1 4 жыл бұрын
Do you normally not use line numbers or it that for presenting?
@pyrhho
@pyrhho 4 жыл бұрын
What's up with the split between api/endpoints, and api/pages? Just POST vs GET? or is there some other distinction?
@cagmz
@cagmz 4 жыл бұрын
@@garybernhardt7185 are you doing multiple GET requests per page to fetch data for different components?
@finnwillows6031
@finnwillows6031 4 жыл бұрын
Nice. Typescript used to become the opposite of loosey-goosey JS.
@guillaume_simard
@guillaume_simard 4 жыл бұрын
What if you do progressive rollout? Now you've coupled your database to your API and to your client. You can't have two versions of your app running concurrently. If you have a mobile app, you need to forcefully deprecate older versions since they rely on an API that doesn't exist anymore. I love the idea here, but I do feel that you'd benefit from a bit more abstraction between the database and the core logic, between the core logic and the API (and versioned APIs). This might be completely overkill, depending on your needs, but there's definite downsides to have a database column type change propagate all the way to the client.
@dimitardimitrov3421
@dimitardimitrov3421 3 жыл бұрын
Can someone who knows vim (I’m still a newb) tell me how he searches for files and opens them right away? His workflow looks really cool.
@charlespeters91
@charlespeters91 4 жыл бұрын
What's the backend stack?
@nomasprime
@nomasprime 4 жыл бұрын
www.executeprogram.com/blog/porting-to-typescript-solved-our-api-woes
@Goodvvine
@Goodvvine 4 жыл бұрын
"What is version skew?"
@Goodvvine
@Goodvvine 4 жыл бұрын
@@garybernhardt7185 sure, it's just that it reminded me of the main cause for outages every weekly release on one of my previous teams 🙃
@Puffypoo574
@Puffypoo574 4 жыл бұрын
Cool
@ignazioolivieri3795
@ignazioolivieri3795 4 жыл бұрын
Woooww all this for one check box iput a one notification? Seems that we come back to the past!!! We are shure that is good linguage code?
@programmedlive
@programmedlive 4 жыл бұрын
Most of these pieces have equivalents in server-rendered apps. If this were a server-rendered Rails demo circa 2005, it would've had a db migration file (same here), a db model file (same here), two controller methods (corresponding to the two server endpoint files here), and various views (corresponding to the React views here). The only piece with no equivalent in most 2005 apps is the API schema file. That's the piece that makes it maintainable while still being a single-page app.
@aviolito
@aviolito 4 жыл бұрын
@@programmedlive and lots of tests, that we run.
Generics: The most intimidating TypeScript feature
18:19
Matt Pocock
Рет қаралды 186 М.
Theo Browne: Next.js is a backend framework
11:44
Vercel
Рет қаралды 161 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Event-Driven Architecture (EDA) vs Request/Response (RR)
12:00
Confluent
Рет қаралды 178 М.
How I Coded a SaaS (payments, database and frontend)
13:15
NeetCode
Рет қаралды 142 М.
Statically Prevent 404s - Gary Bernhardt
18:29
SitePen
Рет қаралды 9 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 112 М.
7 Database Paradigms
9:53
Fireship
Рет қаралды 1,6 МЛН
tRPC: Smart and Easy APIs
25:29
Jack Herrington
Рет қаралды 121 М.
Vim with me: Gary Bernhardt
10:17
Changelog
Рет қаралды 14 М.
Rich Harris - Rethinking reactivity
36:45
You Gotta Love Frontend
Рет қаралды 322 М.
How To Use TypeScript With Express & Node
17:05
Colt Steele
Рет қаралды 75 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН