Welcome to the TurboRepo Project! This repository is built with Next.js, MongoDB, and NextAuth for authentication. The project also includes an admin panel for managing data. MongoDB is run using Docker for easy setup and management.
- TurboRepo: Fast and efficient monorepo management.
- Next.js: Modern React framework for server-rendered and statically generated web applications.
- MongoDB: NoSQL database for storing application data.
- NextAuth: Authentication for secure login and session management.
- Admin Panel: Interface for managing application data.
- Docker: Containerized MongoDB for easy setup and deployment.
Make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/your-username/turbo-repo-project.git cd turbo-repo-project
-
Install dependencies:
npm install
-
Set up environment variables:
Create a
.env.local
file in the root directory and add the following:MONGODB_URI=mongodb://localhost:27017/turbo-repo NEXTAUTH_URL=http://localhost:3000 NEXTAUTH_SECRET=your-nextauth-secret
-
Start MongoDB with Docker:
docker run -d -p 27017:27017 --name mongo-db mongo
-
Run the development server:
npm run dev
Your application should now be running on http://localhost:3000.
- Admin Panel: Navigate to
/admin
to access the admin panel. - Authentication: Sign up and log in using the authentication forms provided.
We welcome contributions! Please follow these steps:
- 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
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.