Starter admin panel template designed to streamline your e-commerce management.
Centralizing e-commerce business administration in one customizable place.
- Framework: Next.js 14
- Language: TypeScript
- Styling: Tailwind CSS
- Components: Shadcn-ui
- Schema Validations: Zod
- State Management: Zustand
- Search Params State Manager: Nuqs
- Auth: Auth.js
- Tables: Tanstack Tables
- Forms: React Hook Form
- Linting: ESLint
- Pre-commit Hooks: Husky
- Formatting: Prettier
Page | Specifications |
---|---|
Signup | Authentication with NextAuth, supporting social logins and email logins (enter dummy email for demo). |
Dashboard | Cards with Recharts graphs for analytics. |
Clients | Tanstack tables with server-side searching, filtering, and pagination using Nuqs. |
Client/new | Employee Form with Shadcn form (React Hook Form + Zod). |
Products | Tanstack tables with server-side searching, filtering, and pagination using Nuqs. |
Product/new | Product Form with Shadcn form (React Hook Form + Zod). |
Orders | Tanstack tables with server-side searching, filtering, and pagination using Nuqs. |
Order/new | Order Form with Shadcn form (React Hook Form + Zod). |
Profile | Multi-step dynamic forms using React Hook Form and Zod for validation. |
Todo Board | Drag-and-drop task management board with dnd-kit and Zustand for local state persistence. |
Not Found | Not Found Page added at the root level. |
Follow these steps to clone the repository and start the development server:
git clone https://github.com/ramiomarouayache/next-admin.git
cd next-admin
npm install
-
Create a
.env.local
file by copying the example environment file:cp env.example.txt .env.local
-
In VSCode terminal (or any editor), click the plus icon to add 'New Bash terminal', & then run the following to generate a new NEXTAUTH_SECRET:
openssl rand -base64 32
-
Add the required environment variables to the
.env.local
file. -
Start the development server:
npm run dev
You should now be able to access the application at http://localhost:3000.
Contributions are welcome! Feel free to open issues, submit pull requests, or provide feedback.
This project is licensed under the MIT License - see the LICENSE file for details.