https://github.com/quickheaven/turborepo
https://github.com/quickheaven/turborepo
nestjs nextjs turborepo typescript
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/quickheaven/turborepo
- Owner: quickheaven
- Created: 2020-01-03T16:46:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-08-30T12:00:47.000Z (11 months ago)
- Last Synced: 2025-09-01T14:18:29.067Z (11 months ago)
- Topics: nestjs, nextjs, turborepo, typescript
- Language: TypeScript
- Homepage: https://www.youtube.com/watch?v=nx-cj3dqWNE&t=7s
- Size: 1.62 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Product Management System
A monorepo built with Turborepo that includes a Next.js frontend and NestJS backend for managing products.
## Project Structure
- `apps/web`: Next.js frontend application
- `apps/turborepo-nestjs`: NestJS backend application
- `packages/types`: Shared TypeScript interfaces and types
- `packages/eslint-config`: Shared ESLint configurations
- `packages/typescript-config`: Shared TypeScript configurations
## Features
- Create and list products
- Shared types between frontend and backend
- Server-side rendering with Next.js
- RESTful API with NestJS
- Type-safe development with TypeScript
## Getting Started
1. Install dependencies:
```sh
pnpm install
```
2. Start development servers:
```sh
pnpm dev
```
This will start:
- Frontend at `http://localhost:3000`
- Backend at `http://localhost:3001`
## Building for Production
```sh
pnpm build
```
## Docker Support
Build and run the applications using Docker:
```sh
# Build and run NestJS backend
docker build -t turborepo-nestjs -f apps/turborepo-nestjs/Dockerfile .
docker run turborepo-nestjs
# Build and run Next.js frontend
docker build -t web -f apps/web/Dockerfile .
docker run web
```
## Tech Stack
- Frontend: Next.js
- Backend: NestJS
- Package Manager: pnpm
- Build System: Turborepo
- Language: TypeScript
- Containerization: Docker
## Development Tools
- ESLint for code linting
- Prettier for code formatting
- TypeScript for type checking
For more detailed documentation, refer to individual package README files.