A modern, responsive admin dashboard built with Next.js 15, React 19, and Tailwind CSS. This application provides a comprehensive interface for managing orders and other administrative tasks.
- 🎨 Modern UI with Tailwind CSS
- 🔐 Authentication system
- 📊 Order management system
- 📱 Responsive design
- 🔄 Real-time data updates with React Query
- 🎯 TypeScript support
- 🌙 Dark mode support
- Framework: Next.js 15.3.1
- UI Library: React 19
- Styling: Tailwind CSS
- State Management: React Query (TanStack Query)
- UI Components: Radix UI
- Icons: Lucide React
- Charts: Recharts
- Type Safety: TypeScript
- Node.js (Latest LTS version recommended)
- Bun package manager
- Git
- Create a
.env
file in the root directory with the following variables:
NEXT_PUBLIC_BACKEND_URL=your_api_url_here
SECRET_JWT=your_auth_secret_here
NODE_ENV
- Clone the repository:
git clone https://github.com/tpSpace/admin-dashboard
cd admin-dashboard
- Install dependencies:
bun install
- Run the development server:
bun run dev
The application will be available at http://localhost:3000
.
The project uses several configuration files:
next.config.ts
- Next.js configurationtailwind.config.ts
- Tailwind CSS configurationtsconfig.json
- TypeScript configurationeslint.config.mjs
- ESLint configuration
bun run dev
- Start the development server with Turbopackbun run build
- Build the application for productionbun run start
- Start the production serverbun run lint
- Run ESLint for code linting
- Make sure you're on the latest version of the main branch:
git checkout main
git pull origin main
- Create a new branch for your feature:
git checkout -b feature/your-feature-name
- Start the development server:
bun run dev
-
Make your changes and test them locally
-
Run linting to ensure code quality:
bun run lint
admin-dashboard/
├── app/ # Next.js app directory
│ ├── dashboard/ # Dashboard pages
│ ├── login/ # Authentication pages
│ └── layout.tsx # Root layout
├── components/ # Reusable UI components
├── lib/ # Utility functions and API clients
├── public/ # Static assets
└── types/ # TypeScript type definitions
- View all orders with pagination
- Change order status
- Real-time updates using React Query
- Responsive table layout
- Secure login system
- Protected routes
- JWT-based authentication
- Clean and modern interface
- Responsive design for all screen sizes
- Loading states and error handling
- Toast notifications for user feedback
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is private and proprietary.
For support, please contact the development team.