An open API service indexing awesome lists of open source software.

https://github.com/jakh0n/hacathonn

🌟 A multi-tenant SaaS admin panel built with Next.js and Express.js, featuring dynamic theme switching, real-time chat, notifications, and responsive design for mobile and desktop. πŸš€ Deployed on Vercel and Render.
https://github.com/jakh0n/hacathonn

express nextjs nodejs tailwindcss typescript websocket

Last synced: 2 months ago
JSON representation

🌟 A multi-tenant SaaS admin panel built with Next.js and Express.js, featuring dynamic theme switching, real-time chat, notifications, and responsive design for mobile and desktop. πŸš€ Deployed on Vercel and Render.

Awesome Lists containing this project

README

          

# 🌟 Multi-Tenant SaaS Admin Panel

Welcome to our **SaaS Hackathon Project** β€” a dynamic, multi-tenant admin panel with a modern tech stack! This platform provides a seamless, personalized experience for each tenant and includes:

## ✨ Features

- 🎨 **Theme switching**: Light/Dark mode per tenant
- πŸ”§ **Feature toggles**: Enable/disable modules like Real-Time Chat
- ⚑ **Real-time notifications**: Built using Socket.IO
- πŸ“± **Fully responsive**: Mobile and desktop ready
- πŸ” **Tenant isolation**: No config leaks between tenants

---

## πŸ“Έ Live Demo

πŸ”— [Frontend on Vercel](https://hacathon-frontend-neon.vercel.app)

Try it on mobile or desktop:
1. Visit the link.
2. Choose a tenant (`Tenant 1` or `Tenant 2`).
3. Click **Load**.
4. Watch the dashboard adapt in real time! πŸš€

---

## πŸ§ͺ Test Cases

### βœ… Tenant 1 (Mobile View)
- **Light theme**
- **Chat module enabled**
- **Notification popup**: "Welcome to Tenant 1!"
- **Info**: `tenant1.example.com`

### βœ… Tenant 2 (Mobile View)
- **Dark theme**
- **Chat module disabled**
- **No popup**
- **Info**: `tenant2.example.com`

### πŸ”„ Tenant Switching
- Switch between tenants with no data/config leaks.
- UI updates correctly with each tenant’s preferences.

---

## πŸ› οΈ Tech Stack

| Component | Technology |
|------------|-----------------------------|
| Frontend | Next.js, React, Shadcn UI, Typescript |
| Backend | Node js, Express.js |
| Real-Time | WebSocket (Socket.IO) |
| Deployment | Vercel (Frontend), Render (Backend) |

---

## πŸš€ Local Setup

```bash

cd frontend
npm install
# Add .env.local
echo "NEXT_PUBLIC_API_URL=http://localhost:3001" > .env.local
echo "NEXT_PUBLIC_WEBSOCKET_URL=http://localhost:3001" >> .env.local
npm run dev

cd server
npm install
# Add .env file
echo "ALLOWED_ORIGIN=https://hacathon-frontend-neon.vercel.app" > .env
npm start