Welcome to the Next.js Boilerplate! This project is a robust starter template for building modern web applications using Next.js, NextUI, Geist UI, Firebase, Google Gemini, TailwindCSS, and Framer Motion.
├── app/ # App directory for Next.js routes and pages
├── components/ # Reusable React components
├── config/ # Configuration files (e.g., Firebase, Tailwind)
├── public/ # Static assets like images and icons
├── styles/ # Global and modular CSS files
├── types/ # TypeScript definitions
├── .vscode/ # VS Code workspace settings
├── .eslintignore # Files and directories ignored by ESLint
├── .eslintrc.json # ESLint configuration
├── .gitignore # Git ignored files
├── .npmrc # npm configuration
├── LICENSE # License for the project
├── next-env.d.ts # Next.js TypeScript definitions
├── next.config.js # Next.js configuration
├── package.json # npm dependencies and scripts
├── postcss.config.js # PostCSS configuration for TailwindCSS
├── tailwind.config.js # TailwindCSS configuration
├── tsconfig.json # TypeScript configuration
Follow these instructions to get a copy of the project up and running:
Ensure you have the following installed:
git clone https://github.com/titasmallick/NexttJs.git
cd NexttJs
npm install
Start the development server:
npm run dev
Visit http://localhost:3000 to view your application.
Build and start the production server:
npm run build
npm start
Update your Firebase configuration in the config/firebaseConfig.js
file:
const firebaseConfig = {
apiKey: "<YOUR_API_KEY>",
authDomain: "<YOUR_AUTH_DOMAIN>",
projectId: "<YOUR_PROJECT_ID>",
storageBucket: "<YOUR_STORAGE_BUCKET>",
messagingSenderId: "<YOUR_MESSAGING_SENDER_ID>",
appId: "<YOUR_APP_ID>"
};
export default firebaseConfig;
Customize the tailwind.config.js
file to fit your design needs.
dev
: Starts the development server.build
: Builds the production-ready application.start
: Runs the application in production mode.lint
: Lints the codebase using ESLint.Feel free to fork the repository and submit pull requests. Please follow the contribution guidelines.
This project is licensed under the MIT License. See the LICENSE file for details.
Built with ❤️ by Titas Mallick.