Video wird geladen...
Video konnte nicht geladen werden
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 Aufrufe • vor 2 Jahren •via X (Twitter)
10 Kommentare

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: 👇

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 –

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:

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 😄

Shot my shot on Hacker News 🙈

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

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

@dubdotco 😂 whoops!! good catch

@dubdotco bam @spacedriveapp

@dubdotco @spacedriveapp let's gooo 🚀

