How I Rebuilt Slack in Just 3 Hours? FART Stack
Hey there, Ben Swerdlow here, CEO and co-founder of Freestyle. Last week, my co-founder Jacob and I did something that raised a few eyebrows—we rebuilt Slack in just 3 hours using what we’re calling the FART stack. And let me tell you, it’s causing quite a stir on LinkedIn (50,000 views and counting).
In this post, I’ll walk you through how we pulled off this feat, why the FART stack is a game-changer for web development, and how you can get started building your own Slack clone in record time.
FART stands for Freestyle, Astro, React, and Tailwind. It’s not just a silly name, but a serious game-changer for web development. Here’s a quick rundown:
Rebuilding Slack isn’t just a fun exercise—it’s a demonstration of the FART stack’s power. Slack is a complex, real-time application with features like live messaging, multiple channels, and authentication. By recreating it in just 3 hours, we’ve battle-tested the efficiency and simplicity of our approach.
Unlike traditional stacks like MEAN (MongoDB, Express.js, Angular, Node.js) or MERN (MongoDB, Express.js, React, Node.js), the FART stack with Freestyle at its core offers two unparalleled advantages:
Write both frontend and backend logic in a single TypeScript file, eliminating the need for separate API definitions and enabling truly unified full-stack development.
Access to open-source, full-stack feature packages powered by Freestyle. These packages offer pre-built yet extensible functionality that spans the entire stack, from UI components to database logic, all seamlessly integrated into your project.
This combination of unified development and full-stack features creates a development experience that’s not just faster, but fundamentally more cohesive and feature-rich than any other stack can offer. The result is a dramatic reduction in development time and complexity, allowing developers to focus on building innovative features rather than wrestling with infrastructure.
This isn’t just another way to build websites—it’s a revolutionary approach to full-stack development that will make you question why we’ve been doing things the hard way for so long.
With Freestyle, you write everything in TypeScript. Frontend, backend, database queries—all in one language. Here’s a taste:
This isn’t just your frontend code or your backend code—it’s both. Freestyle blurs the line between client and server, allowing you to focus on building features, not infrastructure.
Astro’s partial hydration means your site loads faster than a caffeine-fueled developer, while React and Tailwind provide a smooth, responsive UI.
And here’s the React component using Tailwind:
Freestyle provides end-to-end type safety. No more runtime surprises:
Freestyle’s useCloudQuery
is a game-changer for real-time applications:
This snippet not only fetches messages but also sets up real-time updates using webhooks under the hood—all without any additional code.
Forget complex state management libraries. Freestyle makes it trivial:
Implementing secure authentication is a breeze with Freestyle’s full-stack feature packages:
It’s worth noting that authentication and chat functionality are provided by open-source, full-stack feature packages made possible by Freestyle. These packages contain UI components seamlessly connected to extensible database code that slots into your existing database structure. This approach dramatically speeds up development while maintaining flexibility.
Astro seamlessly integrates with Freestyle and React:
After my LinkedIn post blew up, the comments started rolling in. Here are a few of my favorites:
“FART FTW! This is awesome!”—Arnab Raychaudhuri, Open source AI engineer
”FART Stack 💨“—Tyler Sheaffer, Co-Founder and CTO at Mental
”This type of content is a reason i pay my internet bills!! thanks, its just woow”—Manav Gupta, AI @ Innovaccer
In just 3 hours and 33 minutes, we built a fully functional Slack clone with:
All with the FART stack. No language switching, no complex builds—just pure development efficiency.
Want to see for yourself? Check out the full code repository: https://github.com/freestyle-sh/freestyle-slack
Ready to give it a try? Here’s how to get started:
Clone the Freestyle Astro template:
Navigate to your project:
Install dependencies:
Start the development server:
Open your browser and visit http://localhost:8910
to see your FART stack app in action!
This template comes pre-configured with Freestyle, Astro, React, and Tailwind, giving you a head start on your FART stack journey.
For more detailed instructions and advanced usage, check out our documentation.
The FART stack isn’t just a catchy acronym—it’s a powerful approach to web development that can dramatically increase your productivity and code quality.
So, are you ready to revolutionize your development process? Head over to Freestyle and give it a try. Once you experience the simplicity and power of unified full-stack TypeScript development, you’ll wonder how you ever lived without it.
Remember, in the world of web development, it’s better to be on the cutting edge than left behind. Let’s build the future of web development together! 🚀
Subscribe to the latest product updates, articles, and tutorials from Freestyle, a YC-backed company. Be among the first to build full-stack in just TypeScript.