---
title: "Building a Slack clone Including Preview Environments, Using Next.js and Supabase"
url: https://daily.dev/posts/building-a-slack-clone-including-preview-environments-using-next-js-and-supabase-3wlshqzqm
source_url: https://livecycle.io/blogs/next-js-supabase
type: article
source: "Livecycle"
published: 2023-05-16T16:18:55.410Z
updated: 2023-07-20T14:10:56.027Z
tags: ["slack", "supabase", "docker-compose", "code-review"]
reading_time: 5
upvotes: 56
comments: 8
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Building a Slack clone Including Preview Environments, Using Next.js and Supabase

**[Livecycle](https://daily.dev/sources/livecycle)** · 5 min read · 56 upvotes · 8 comments

## Summary

Building a Slack clone Including Preview Environments, Using Next.js and Supabase, using next.js. We’ll also set up preview environments for every commit in every branch, complete with all the running services. Preevy will build and deploy our app using a cloud provider, in this case cheap AWS Lightsail VMs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://livecycle.io/blogs/next-js-supabase>

## Community discussion

Top comments from developers on daily.dev.

**@assaf** · 6 upvotes

> Hey daily.dev community! I'm the author of this post.
> First post here, and quite excited about it :) Was fun hacking this little project and writing about it.
>
> Building preview environments for multi-service application is a game changer for dev teams. Imagine having a completely independent running instance for every commit you make, which you can share.
>
> For me, once you start working this way you can't turn back.
>
> Would love to hear your thoughts!

**@matanmishan** · 2 upvotes

> Useful example!

**@lunareclipse** · 1 upvotes

> This is great!

**@tabascoweb3** · 1 upvotes

> Solid tutorial, Assaf!

**@morgankung** · 1 upvotes

> That's interesting to know，thanks for sharing.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#slack](https://daily.dev/tags/slack), [#supabase](https://daily.dev/tags/supabase), [#docker-compose](https://daily.dev/tags/docker-compose), [#code-review](https://daily.dev/tags/code-review)

[View this post on daily.dev](https://daily.dev/posts/building-a-slack-clone-including-preview-environments-using-next-js-and-supabase-3wlshqzqm)
