A full-stack web application template built with Next.js and AWS Amplify, featuring a public website, blog system, and admin dashboard.
- 🚀 Next.js 14+ with App Router
- ⚡ AWS Amplify Gen2 Backend
- 🎨 Shadcn/ui Components
- 🌍 i18n Support
- 📝 Rich Text Editor (Tiptap)
- 🔒 Authentication & Authorization
- 📱 Responsive Design
- 🧪 Jest Testing Setup
- Node.js 18.x or higher
- AWS Account
- npm or yarn
- AWS Amplify CLI v12.x or higher (
npm install -g @aws-amplify/cli@latest)
- Clone the repository
git clone https://github.com/yourusername/nextjs-amplify-cms-template.git
cd nextjs-amplify-cms-template- Install dependencies
npm install- Deploy a fullstack app to AWS and Initialize and deploy backend (Amplify Gen2)
- Follow Quick Start Guide
- Start the development server
npm run devnextjs-amplify-cms-template/
├── app/ # Next.js app router pages
├── amplify/ # Amplify Gen2 backend configuration
│ ├── backend/ # Backend resources definitions
│ ├── data/ # GraphQL schema and resolvers
│ └── auth/ # Authentication configuration
├── components/ # Reusable React components
├── lib/ # Utility functions and configurations
├── public/ # Static assets
└── styles/ # Global styles
note...
Run the test suite:
npm run testWatch mode for development:
npm run test:watch- Build the application:
npm run build- Deploy to AWS Amplify:
- Deploy cloud sandbox
npx ampx sandbox- Upload your code to Github
- Fork this repository
- Update the configuration files
- Customize the components and styles
- Update the content and branding
- Basic website
- Dashboard(Backend CMS)
- Marketing features
- (COMING SOON)
- Fork the repository
- Create a 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 licensed under the MIT License - see the LICENSE file for details.
If you find this project helpful, please give it a ⭐️ on GitHub!