# Is it possible to build a forum with weweb?

**URL:** <https://community.weweb.io/t/is-it-possible-to-build-a-forum-with-weweb/5411>\
**Category:** Ask us anything\
**Created:** [November 15, 2023, 12:14pm UTC](https://community.weweb.io/t/is-it-possible-to-build-a-forum-with-weweb/5411 "2023-11-15T12:14:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kat](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kat/32/5809_2.png) [@Kat](https://community.weweb.io/u/Kat)\
**Post date:** [November 15, 2023, 12:14pm UTC](https://community.weweb.io/t/is-it-possible-to-build-a-forum-with-weweb/5411/1 "2023-11-15T12:14:05Z")

</div>

Hi,  
We need some organized and managed discussions for our clients. What would be the best/most efficient approach to do it?

Thankful for any ideas about how to approach this subject. We have a full stack dev in our team, so we can do some code but not a lot, due to time limits.

Best regards,  
k.

---

<div class="post-metadata">

**Author:** ![rayanenocode](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/rayanenocode/32/13166_2.png) [@rayanenocode](https://community.weweb.io/u/rayanenocode)\
**Post date:** [November 15, 2023, 12:23pm UTC](https://community.weweb.io/t/is-it-possible-to-build-a-forum-with-weweb/5411/2 "2023-11-15T12:23:38Z")

</div>

yep its totally possible to do that in weweb

---

<div class="post-metadata">

**Author:** ![Kat](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kat/32/5809_2.png) [@Kat](https://community.weweb.io/u/Kat)\
**Post date:** [November 15, 2023, 12:45pm UTC](https://community.weweb.io/t/is-it-possible-to-build-a-forum-with-weweb/5411/3 "2023-11-15T12:45:26Z")

</div>

Okay, thanks Rayanenocode!  
Is it building from scratch, or are there some plugins or templates or what would you suggest?

Regards,  
k

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [November 15, 2023, 1:50pm UTC](https://community.weweb.io/t/is-it-possible-to-build-a-forum-with-weweb/5411/4 "2023-11-15T13:50:52Z")

</div>

I think it would be very fun for an experienced team to build a forum like this one with WeWeb and Supabase. It wouldn’t require too much time to achieve a POC.

You will need a supabase account with the free plan. Install the Supabase and Supabase Auth plugins on your project.

You can also connect a custom backend if you have already one or don’t want to use another Saas product. Or want to self host your data.

Supabase can help you achieve the POC faster if you cant ask your team to code a custom backend.

Create a Posts and Comments table.  
Posts (title, authorId)  
Comments (content, authorId, postId)

On WeWeb you can create 3 pages

- Login/Signup (path =\> /login), for this page we have prebuild template/section
- Feed/Home (path =\> /)
- Post (path =\> /posts/{{postId|}})

Create also 2 collections

- Posts → connected to the Posts table, let this one be fetched automatically + preserve on nav
- Comments → connected to the Comments table with a filter by Post id, disable the auto fetch on this one

On the Post page, you will have a workflow on page load, the workflow will fetch comments collection, the comments collection has the filter Post id bound to the current params of the page (/posts/ **54** for example), so it will fetch the comments related to the given post

You can add a rich text input on the Post page, so the user can send new comment on the post.

You will have more works to do if you want to allow to edit the comments/posts, but it will be a first POC where you can read and write between WeWeb and Supabase 🙂

---

<div class="post-metadata">

**Author:** ![Kat](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kat/32/5809_2.png) [@Kat](https://community.weweb.io/u/Kat)\
**Post date:** [November 15, 2023, 2:12pm UTC](https://community.weweb.io/t/is-it-possible-to-build-a-forum-with-weweb/5411/5 "2023-11-15T14:12:08Z")

</div>

Thanks @Alexis ! You know you are worth your weight in gold, right?

greetings  
k.

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [November 15, 2023, 2:18pm UTC](https://community.weweb.io/t/is-it-possible-to-build-a-forum-with-weweb/5411/6 "2023-11-15T14:18:39Z")

</div>

As Alexis mentioned, building this is pretty fast and straoghtforward. Then the timeline of it depends on the complexity you add to it.
