Рет қаралды 1,310
Hello guys! In this video, we will look at Drizzle ORM, an ORM for JavaScript/TypeScript with the focus on performance. It allows you to define your database schema inside your code; it then generates migrations for those schema to reflect in the database. Currently PostgreSQL, MySQL and SQLite are supported. Drizzle ORM has zero dependencies. In this video, we will look at how you can set up Drizzle ORM in your Express.js server. Same steps could be applied for frameworks like Next.js
If you liked the content and found it useful, make sure you support me by clicking the subscribe button and sharing this video with friends in need. 🤝
Links
Drizzle ORM docs - orm.drizzle.team/docs/overview
GitHub repository associated with this tutorial - github.com/atharva-youtube/dr...
Timestamps
0:00 - Introduction
0:43 - Exploring Drizzle ORM documentation
3:39 - Creating and setting up an Express server
9:11 - Setting up Drizzle ORM
13:06 - Creating a schema
15:09 - Generating migrations
18:37 - Running migrations
20:31 - Drizzle studio
22:57 - Querying the DB
27:00 - Conclusion
Any suggestions? Leave in the comments below!
My links
E-mail - hey@atharva.codes
Blog - blog.atharva.codes
Latest Links - links.atharva.codes
Twitter - / athudeosthale
LinkedIn - / atharvadeosthale
#programming #programmer #javascript #nodejs #npm #reactjs #react #nextjs #drizzleorm #database #orm #drizzle