Funfy Forum is a simple forum designed to discuss various topics. The project was developed as part of a course project in the fourth year. The original plan was to use Firebase, but I quickly abandoned this idea in favor of Supabase. This choice is justified by the fact that Supabase is built on PostgreSQL, which provides the ability to use recursive queries. Considering that comments in my project are displayed in a tree view, this makes working with them much easier.
I used NextUI as a UI library, which provides a modern and stylish design integrated with the project logic. Additionally, to optimize performance and improve user experience, the project includes Next.js and the useSWR library for caching, deduplication and mutation.
- Cloning the repository
git clone https://github.com/Fyz-dev/funfy-forum.git- Install dependencies
yarn install- Environment setup
You need to get the supabase keys and create an env file by defining the following variables:
NEXT_PUBLIC_SUPABASE_URL=https://[YOUR_PROJECT_ID].supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=******-
Run setup.sql and create a bucket of user-avatars and topic-avatars in the repository
-
Project launch
yarn dev