A modern frontend starter kit built with Next.js, TypeScript, and Material-UI.
- ⚡️ Next.js 14 with App Router
- 🎨 Material-UI (MUI) for UI components
- 📱 Responsive design
- 🔒 Authentication with JWT
- 📊 Data fetching with React Query
- 🎯 TypeScript for type safety
- 🧪 Jest for testing
- 📝 Storybook for component documentation
- 🎨 Tailwind CSS for styling
- 🔍 ESLint and Prettier for code quality
- 🚀 GitHub Actions for CI/CD
- Node.js 18.x or later
- yarn
- Clone the repository:
git clone https://github.com/yourusername/frontend-starter-kit.git
cd frontend-starter-kit
- Install dependencies:
yarn install
- Create a
.env.local
file in the root directory and add your environment variables:
NEXT_PUBLIC_API_URL=http://localhost:3000/api
- Start the development server:
yarn dev
- Run linters and formatters before committing or creating a pull request:
yarn lf
This command ensures your code adheres to the project's style guidelines.
src/
├── app/ # Next.js app directory
├── components/ # Reusable components
│ ├── ui/ # UI components
│ └── layout/ # Layout components
├── services/ # API services
│ ├── api/ # API clients
│ └── core/ # Core services
├── hooks/ # Custom hooks
├── utils/ # Utility functions
├── types/ # TypeScript types
├── styles/ # Global styles
└── tests/ # Test files and configuration
- ESLint for linting
- Prettier for formatting
- TypeScript for type checking
This project is licensed under the MIT License - see the LICENSE file for details.