正在加载视频...

视频加载失败

Introducing my new open-source side project: It's a crowdsourced list of the best open-source projects on the web. Best part? It's dogfoods Dub.co's API to create short links for each project page + display real-time click analytics for them 📈

230,562 次观看 • 2 年前 •via X (Twitter)

10 条评论

Steven Tey 的头像
Steven Tey2 年前

Here's the full tech stack: ◆ @nextjs Server Actions + Form Actions (zero API routes) ◆ @dubdotco's TypeScript SDK ( ◆ @tremorlabs for charts ◆ @vercel Postgres + deployment The code is fully open-source – go check it out: 👇

Steven Tey 的头像
Steven Tey2 年前

Here's how we used the @dubdotco SDK for this project: 1. Creating/editing links – dub.links.create and dub.links.update: 2. Fetching the time-series analytics for a given link –

Steven Tey 的头像
Steven Tey2 年前

This project also uses some of the bleeding edge libraries/methods in web development. ◆ @nextjs Server Actions for data mutations (0 API routes) ◆ useFormState + useFormStatus for form state management ◆ @HookForm + @zod for form validation Example:

Steven Tey 的头像
Steven Tey2 年前

Hope you like this project – let me know if you have any questions about the @dubdotco API, @nextjs Server Actions, etc. Also, feel free to take for a spin – sign up + add your own open-source projects 😄

Steven Tey 的头像
Steven Tey2 年前

Shot my shot on Hacker News 🙈

Steven Tey 的头像
Steven Tey2 年前

Just wrote a blog post on how we built with @dubdotco's API 👇

Félix Malfait 的头像
Félix Malfait2 年前

@dubdotco the best solution to manage your printers 🖨️ - highly recommended!

Steven Tey 的头像
Steven Tey2 年前

@dubdotco 😂 whoops!! good catch

Jamie Pine 的头像
Jamie Pine2 年前

@dubdotco bam @spacedriveapp

Steven Tey 的头像
Steven Tey2 年前

@dubdotco @spacedriveapp let's gooo 🚀

相关视频