Welcome to the Next.js Starter Pack! This package is designed to help you quickly set up a Next.js project with essential features such as authentication, UI components, theme management, and more.
- Introduction
- Included Features & Packages
- Installation
- Configuration
- Usage
- Sample App
- Contributing
- License
The Next.js Starter Pack is a boilerplate that includes a complete setup for a modern web application. It integrates authentication, UI components, theme management, and database ORM, allowing you to kickstart your project without hassle.
Check out the sample deployed version of the app: Next.js Starter Pack Sample
Complete documentation is available at: Create Next JS Docs
- Next.js - The React Framework for Production
- NextAuth.js - Authentication for Next.js
- ShadCN UI - A collection of UI components
- Next Themes - Theme management for Next.js
- Prisma - Next-generation ORM for Node.js
- Tailwind CSS - A utility-first CSS framework
- Lucide-react - Beautiful & consistent icon toolkit
- Framer Motion - Motion library for React
To create a new project using this starter pack, follow these steps:
-
Create a new project:
npx @devwizz/create-next-js my-app
-
Navigate to the project directory:
cd my-app
-
Set up your environment variables:
Create a
.env
file in the root of your project and add the following variables:DATABASE_URL=your-database-url GOOGLE_CLIENT_ID=your-google-client-id GOOGLE_CLIENT_SECRET=your-google-client-secret
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
Ensure that you have the required environment variables set up in your .env
file. This is crucial for the authentication and database connection to work properly.
You can find more details on how to obtain your Google Client ID and Secret from the Google Developer Console.
Once your project is set up and running, you can start building your application. Refer to the documentation of each included package for detailed usage instructions and examples:
- NextAuth.js Documentation
- ShadCN UI Documentation
- Next Themes Documentation
- Prisma Documentation
- Tailwind CSS Documentation
- Lucide-react Documentation
- Framer Motion Documentation
Contributions are welcome! If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a pull request
This project is licensed under the MIT License. See the LICENSE file for more information.