Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Adds a simple blog post with Mailchimp subscription

Paul Copplestone2403abb1072e
diff --git a/web/blog/2020-04-03-basic-slack-clone-react-hooks.mdx b/web/blog/2020-04-03-basic-slack-clone-react-hooks.mdx
new file mode 100644
index 00000000000..2cbbf65c6c8
--- /dev/null
+++ b/web/blog/2020-04-03-basic-slack-clone-react-hooks.mdx
@@ -0,0 +1,68 @@
+---
+title: Building a basic Slack clone with Postgres and React Hooks
+description: Building a basic Slack clone with Postgres and React Hooks
+author: Paul Copplestone
+author_title: Supabase
+author_url: https://github.com/kiwicopple
+author_image_url: https://avatars2.githubusercontent.com/u/10214025?s=400&u=c6775be2ae667e2acae3ccd347fed62bb3f5b3e7&v=4
+authorURL: https://github.com/kiwicopple
+
+---
+
+import Figure from '../src/components/Figure'
+import Mermaid from '../src/components/Mermaid'
+import CustomCodeBlock from '../src/components/CustomCodeBlock'
+import * as Snippets from '../support/blogBasicSlackClone'
+
+
+This is the first of a multi-part series that will show you how to build a simple Slack clone.
+
+[Full code](https://github.com/supabase/supabase/blob/master/examples/slack-clone-basic/README.md) |
+[Subscribe](http://eepurl.com/gPWkwn)
+
+<Figure
+ src="https://media.giphy.com/media/J07U8iblJhlKDqZOxV/source.gif"
+ alt="Slack Clone"
+ caption="A simple Next.js app that reacts to changes in your Postgres database."
+/>
+
+<!--truncate-->
+
+
+- [Building a basic Slack clone with Postgres and React Hooks](/blog/2020/04/03/basic-slack-clone-react-hooks)
+- Building a Slack backend [COMING SOON]
+- Building a Slack frontend [COMING SOON]
+- Adding realtime functionality [COMING SOON]
+
+
+Throughout the series you'll learn how to use four amazing technologies that scale up to production-ready realtime applications:
+
+- [PostgreSQL](https://www.postgresql.org) - an extremely scalable relational database
+- [Supabase](https://supabase.io) - a JS wrapper for Postgres for instant realtime and RESTful APIs
+- [Next.js](https://nextjs.org/) - a JS framework for building server-rendered React apps
+- [Tailwind](https://tailwindcss.com/) - a CSS framework for quickly styling our frontend app
+
+<Mermaid
+caption="Supabase listens to Postgres and sends all changes to Next.js. Tailwind makes our apps look great."
+graph={`graph LR
+Supabase(Supabase)
+Postgres(PostgreSQL)
+NextJs(Next.js)
+Tailwind(Tailwind)
+Supabase-->NextJs-->Supabase
+Postgres-->Supabase-->Postgres
+NextJs-.-Tailwind
+subgraph Frontend
+NextJs
+Tailwind
+end
+subgraph Backend
+Postgres
+Supabase
+end
+`}
+/>
+
+## Subscribe to this series
+
+Make sure you [subscribe to our newsletter](http://eepurl.com/gPWkwn) if you want to get notified when we release the next post in this series.
\ No newline at end of file
diff --git a/web/blog/2020-02-26-basic-slack-clone-react-hooks.mdx b/web/blog/DRAFT-2020-02-26-basic-slack-clone-react-hooks.mdx
similarity index 99%
rename from web/blog/2020-02-26-basic-slack-clone-react-hooks.mdx
rename to web/blog/DRAFT-2020-02-26-basic-slack-clone-react-hooks.mdx
index f888121230a..8d51f416cca 100644
--- a/web/blog/2020-02-26-basic-slack-clone-react-hooks.mdx
+++ b/web/blog/DRAFT-2020-02-26-basic-slack-clone-react-hooks.mdx
@@ -1,5 +1,5 @@
---
-title: Building a basic Slack clone with Postgres and React Hooks
+title: DRAFT - Slack clone
description: Building a basic Slack clone with Postgres and React Hooks
author: Paul Copplestone
author_title: Supabase
@@ -7,6 +7,7 @@ author_url: https://github.com/kiwicopple
author_image_url: https://avatars2.githubusercontent.com/u/10214025?s=400&u=c6775be2ae667e2acae3ccd347fed62bb3f5b3e7&v=4
authorURL: https://github.com/kiwicopple
tags: [postgres, react]
+draft: true
---
import Figure from '../src/components/Figure'
diff --git a/web/docusaurus.config.js b/web/docusaurus.config.js
index d898cc827d2..2df8722911a 100755
--- a/web/docusaurus.config.js
+++ b/web/docusaurus.config.js
@@ -70,7 +70,8 @@ module.exports = {
},
],
},
- { to: 'https://app.supabase.io', label: 'Alpha', position: 'left' },
+ { to: '/blog', label: 'Blog', position: 'left' },
+ { href: 'https://app.supabase.io', label: 'Alpha', position: 'left' },
// {
// href: 'https://github.com/supabase/supabase',
// label: 'GitHub',
diff --git a/web/src/css/custom.css b/web/src/css/custom.css
index 9bc75406d1e..c3f67a35689 100755
--- a/web/src/css/custom.css
+++ b/web/src/css/custom.css
@@ -386,6 +386,9 @@ a.card:hover {
border: 1px solid var(--custom-primary);
box-shadow: var(--custom-shadow-xl), 0 0 0 1px var(--custom-primary) !important;
}
+.avatar__intro {
+ padding-left: 15px;
+}
/*
* Docs