Рет қаралды 6,312
In this video you'll learn how to build full stack dapps on Arweave with Smartweave, Warp, and Next.js.
The application we'll be building is a full stack blog implementing CRUD operations (Create, Read, Update, and Delete), meaning that you will have an open, public, and composable back end that can be transferred and reused anywhere (not only in this app).
I think this is a good example as it's not too basic as to be boring, but not too complex as to be confusing. It shows how to do most of the basic things you'll need and want to understand in order to build more complex and sophisticated applications going forward.
📝 Smartweave TLDR
- Code a smart contracts in JS
- Execute arbitrary amounts of compute without additional fees
- Never have to worry about gas optimizations
- No state bloat
- Can directly process rich content / large files
- Warp offers enhancements (speed, caching, sdks
🔗 Tutorial
dev.to/dabit3/building-full-s...
🔗 Codebase
github.com/dabit3/full-stack-...
0:00 - Introduction
01:33 - Introduction to Warp
03:15- Project setup
06:30 - Configuring Warp contract and initial state
15:19 - Configuring Warp SDK
21:30 - Creating deployment script
25:05 - Reading state from Warp
26:50 - Creating a post
28:55 - Testing it out
30:25 - Using the Sonar block explorer
31:12 - Configuring Warp on the client
34:18 - Creating posts on the client
41:00 - Updating app entrypoint and reading posts from Warp
47:00 - Updating _app.js to add navigation
48:39 - Testing it out