Build a Full-Stack App with Next.js, ShadCN/UI & Drizzle ORM in Under 9 Minutes (Shadriz v2)

  Рет қаралды 323

Full Stack Book

Full Stack Book

Күн бұрын

Пікірлер: 9
@oscarruiz1799
@oscarruiz1799 4 ай бұрын
Dude, mind blown, didn't know this was possible
@fullstackbook
@fullstackbook 4 ай бұрын
Yep, it is now possible
@universalproblemsolver
@universalproblemsolver 4 ай бұрын
Amazing, thank you. Quick Q: If I already have a DB Table, how do I scaffold just the code portion? I am looking through the docs and can't find anything but the full cycle npx shadriz scaffold -c. Can I skip the -c part if I have the db table (with data) already created. Thanks in advance. Amazing tool! I appreciate the love you put into this.
@fullstackbook
@fullstackbook 4 ай бұрын
Good question. Currently there isn't a way to generate the code portion without the db portion. However, one possible workaround is you can run the scaffold command, and after running it, use git to revert anything you don't need.
@universalproblemsolver
@universalproblemsolver 3 ай бұрын
​@@fullstackbook Thank you for that, beautiful mind. One more follow-up question, I come from a C#/ASP/PHP background. Really trying to get this NextJS stuff down and I am learning a lot from your scaffolding code. To my Q: Can you point me to a decent demo of how a server action called "get-customers" could be called by a shadcn dropdown that can be used in the Create and Edit parent record. Thank you for saving my time.
@fullstackbook
@fullstackbook 3 ай бұрын
I believe server actions are typically used for mutations, for example a post request that can change some state on the server. It sounds like your intent is fetching some data and displaying it in the dropdown. The recommended way to do this is to fetch the data in the server component or page, and then pass it to a client component. The latest version of shadriz has a new automation that might help with this. See the foreign key constraints section.
@PartneredAdmin
@PartneredAdmin 2 ай бұрын
your website is down
@fullstackbook
@fullstackbook 2 ай бұрын
It has been renamed to shadrizz. www.shadrizz.com
CRUD in NextJS 13.4 (app router) and Postgresql.
21:22
Dhriti
Рет қаралды 8 М.
How to Use Material UI in Next.js | Next.js 14
3:13
CodeHandbook
Рет қаралды 8 М.
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
These 2 UI Libraries Are The Perfect Combo
5:03
Josh tried coding
Рет қаралды 153 М.
How to Deploy Ruby on Rails App to Render
15:14
Malachi Rails
Рет қаралды 3,8 М.
New in Inertia: Practical: Infinite Scrolling
13:55
Codecourse
Рет қаралды 935
level super minf hackthon
20:20
mrDeep
Рет қаралды 4
Drizzle ORM in 100 Seconds
2:54
Fireship
Рет қаралды 487 М.
'Ruby on Rails vs Django: A Comprehensive Comparison
19:59
The Rails Wrangler
Рет қаралды 4,3 М.
shadrizz AI tool 1 and 2 - Scaffolding and scaffolding adjustment
11:53