A modern, full-stack starter template combining the power of Next.js with AWS Amplify for building scalable web applications.
-
Frontend
- Next.js 15 - React framework with App Router
- React 19 - UI library
- TypeScript - Type safety
- Tailwind CSS - Utility-first CSS
- shadcn/ui - Re-usable components
-
Backend & Cloud
- AWS Amplify - Full-stack development platform
- AWS CDK - Infrastructure as code
-
Data Management
- TanStack Query - Data fetching and caching
- React Hook Form - Form handling
- Zod - Schema validation
-
Development Tools
-
Prerequisites
- Node.js 18 or later
- pnpm package manager
- AWS account and Amplify CLI configured
-
Installation
# Clone the repository git clone https://github.com/lichtlabs/amplify-next.git cd amplify-next # Install dependencies pnpm install # Configure Amplify pnpm amplify:configure # Start development environment pnpm amplify:dev
-
Development
# Start the Amplify sandbox environment pnpm amplify:dev # In a new terminal, start the development server pnpm dev
Open http://localhost:3000 to view the application.
⚠️ Important: When you're done with development, runpnpm amplify:cleanup
to destroy and clean up the sandbox resources. This helps prevent unnecessary AWS resource usage.
pnpm dev
- Start development server with Turbopackpnpm build
- Build production applicationpnpm start
- Start production serverpnpm lint
- Run ESLintpnpm format:check
- Check code formattingpnpm format:write
- Fix code formattingpnpm amplify:configure
- Configure Amplify profilepnpm amplify:dev
- Start Amplify sandbox environment
├── amplify/ # AWS Amplify backend configuration
├── public/ # Static assets
├── src/
│ ├── app/ # Next.js App Router pages
│ ├── components/ # Reusable UI components
│ └── lib/ # Utility functions and configurations
└── package.json
- Next.js Documentation
- AWS Amplify Documentation
- TanStack Query Documentation
- Tailwind CSS Documentation
We welcome contributions! Please see our Contributing Guide for more details.
This project is licensed under the MIT License - see the LICENSE file for details.