Admin dashboard for managing the Wayfi Wireless DASHBOARD DB.
- 🔍 Quick search for Locations and NASIDs
- 📊 Performance graphs and analytics
- 📍 Location management
- 📡 Access Point management
- 📈 Real-time data visualization
- 🎨 Modern UI with shadcn/ui and Magic UI components
- 📱 Responsive sidebar navigation
-
Install dependencies:
npm install
-
Set up environment variables: Copy
.env.local.exampleto.env.localand fill in your Supabase credentials:NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key-here SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here
-
Run development server:
npm run dev
-
Open browser: Navigate to http://localhost:3000
- Push your code to GitHub
- Import project in Vercel
- Add environment variables in Vercel dashboard
- Deploy!
This project uses shadcn/ui for base components. To add new components:
npx shadcn-ui@latest add [component-name]This project uses Magic UI for animated components. Components are available from the magicui package and can be imported directly.
Example:
import { AnimatedBeam } from 'magicui/animated-beam'├── app/
│ ├── dashboard/ # Dashboard pages
│ └── layout.tsx # Root layout
├── components/
│ ├── ui/ # shadcn/ui components
│ └── Sidebar.tsx # Sidebar navigation
├── lib/
│ ├── supabase/ # Supabase client utilities
│ └── utils.ts # Utility functions
└── middleware.ts # Next.js middleware (auth will be added later)
- Next.js 14 (App Router)
- TypeScript
- Supabase (Database)
- Tailwind CSS
- shadcn/ui (Component library)
- Magic UI (Animated components)
- Recharts (Graphs)
- Lucide React (Icons)
- Framer Motion (Animations)
Authentication will be added in a future update. Currently, all routes are accessible without authentication.
- The sidebar navigation is responsive and includes active state highlighting
- All components use shadcn/ui styling system
- Magic UI components can be added for enhanced animations and interactions