Skip to content

Fyz-dev/funfy-forum

Repository files navigation

GitHub License

funfy-roum

Funfy-forum

Static Badge Next.js Supabase TailwindCSS SWR NextUI Framer-motion

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.

Preview

🔧Installation

  1. Cloning the repository
git clone https://github.com/Fyz-dev/funfy-forum.git
  1. Install dependencies
yarn install
  1. 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=******
  1. Run setup.sql and create a bucket of user-avatars and topic-avatars in the repository

  2. Project launch

yarn dev

Packages

No packages published