A modern task management system built with Next.js, Nest.js, and Prisma using Turborepo and pnpm for monorepo management.
Before you begin, ensure you have installed:
npm install -g pnpm
)taskmanager-turborepo/
├── apps/
│ ├── web/ # Next.js frontend
│ └── backend/ # Nest.js backend
├── packages/
│ ├── eslint-config/
│ ├── typescript-config/
│ └── ui/ # Shared UI components
├── turbo.json
├── projectscreens/ # Screenshots of all pages
└── package.json
The ProjectScreens
folder contains screenshots of all pages in the application. You can find:
These screenshots provide a visual reference for the application's UI and can be helpful for development and documentation purposes.
Clone the repository
git clone https://github.com/Riteek712/taskmanager-turborepo
cd taskmanager-turborepo
Install dependencies
pnpm install
Set up environment variables
Create .env
files in both the backend directories:
For apps/backend/.env
:
DATABASE_URL="postgresql://username:password@localhost:5432/taskflow"
JWT_SECRET="your-secret-key"
Set up the database
cd apps/backend
pnpm prisma generate
pnpm prisma migrate dev
Start the development servers
# From the root directory
pnpm dev
This will start:
From the root directory:
pnpm build # Build all applications
pnpm run dev # Start all applications in development mode
pnpm lint # Run ESLint across all applications
pnpm format # Format code using Prettier
pnpm test # Run tests across all applications
The project uses Prisma ORM with PostgreSQL. To manage your database:
cd apps/backend
# Generate Prisma Client
pnpm prisma generate
# Create a migration
pnpm prisma migrate dev
To add a dependency to a specific workspace:
pnpm add <package> --filter <workspace>
Example:
pnpm add axios --filter web
Create a new branch
git checkout -b feature/your-feature-name
Make your changes and commit using conventional commits
git commit -m "feat: add new feature"
Push and create a pull request
git push origin feature/your-feature-name
This project is licensed under the MIT License - see the LICENSE file for details.