A modern dashboard web application built with Next.js, React, Tailwind CSS, and NextAuth.js.
git clone https://github.com/your-username/nextjs-dashboard.git
cd nextjs-dashboardnpm installCreate a .env.local file in the root directory and add your environment variables as needed.
Example:
DATABASE_URL=your_database_url
NEXTAUTH_SECRET=your_nextauth_secret
# Add other variables as required
npm run devOpen http://localhost:3000 to view the app.
npm run dev— Start the development servernpm run build— Build the app for productionnpm run start— Start the production servernpm run lint— Run ESLint to check for code issues
- Use npm for installing dependencies and running scripts.
- Do not commit
node_modulesor any lock files other thanpackage-lock.json. - Environment variables should be stored in
.env.local(not committed). - For deployment, follow your hosting provider’s Next.js instructions (e.g., Vercel).
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature) - Commit your changes
- Push to your branch (
git push origin feature/your-feature) - Open a Pull Request
This project is licensed under the MIT