This is a starter boilerplate for building a web application using Next.js, MongoDB, and Tailwind CSS. It provides a basic setup to get you up and running quickly with these technologies.
- Next.js for server-side rendering and static site generation
- MongoDB for a NoSQL database
- Tailwind CSS for utility-first CSS styling
- ESLint and Prettier for code quality and consistency
Make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/faisalamin001/nextjs-mongodb-tailwind-starter.git
-
Navigate to the project directory:
cd nextjs-mongodb-tailwind-starter
-
Install dependencies:
npm install
or
yarn install
-
Start the development server:
npm run dev
or
yarn dev
-
Open http://localhost:3000 with your browser to see the result.
Create a .env.local
file in the root of your project and add the following variables:
MONGODB_URI=your_mongodb_connection_string
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature-name
) - Make your changes
- Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/your-feature-name
) - Create a pull request