This Turborepo starter is maintained by the Turborepo core team.
Run the following command:
npx create-turbo@latest
This Turborepo includes the following packages/apps:
docs
: a Next.js appweb
: another Next.js app@repo/ui
: a stub React component library shared by bothweb
anddocs
applications@repo/eslint-config
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)@repo/typescript-config
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
To build all apps and packages, run the following command:
cd my-turborepo
pnpm build
To develop all apps and packages, run the following command:
cd my-turborepo
pnpm dev
my-project/
├── .gitignore
├── .npmrc
├── README.md
├── apps/
│ ├── backendd/ <--- remember "backend" is redundant so try to run "backendd" in the main tree after clone repo on your local
│ │ ├── README.md
│ │ ├── Stampede_detection system
│ │ ├── src/
│ │ │ ├── main.py
│ │ │ ├── stampede_detection_results.csv
│ │ │ ├── stampede_detector.py
│ │ │ └── visualization.py
│ │ │ └── websocket_server.py <---this is the main file to start backend
│ │ ├── stampede_events.log
│ │ └── yolov8n.pt
│ ├── frontend/ <---- to run FE use "npm run dev"
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── app/
│ │ │ ├── globals.css
│ │ │ ├── layout.tsx
│ │ │ └── page.tsx
│ │ ├── eslint.config.mjs
│ │ ├── next-env.d.ts
│ │ ├── next.config.ts
│ │ ├── package.json
│ │ ├── pages/
│ │ │ └── index.tsx
│ │ ├── postcss.config.mjs
│ │ ├── public/
│ │ ├── tailwind.config.ts
│ │ └── tsconfig.json
├── package.json
├── packages/
│ ├── eslint-config/
│ │ ├── base.js
│ │ ├── next.js
│ │ ├── package.json
│ │ ├── react-internal.js
│ │ └── README.md
│ ├── typescript-config/
│ │ ├── base.json
│ │ ├── nextjs.json
│ │ ├── package.json
│ │ └── react-library.json
│ └── ui/
│ ├── eslint.config.mjs
│ ├── package.json
│ ├── src/
│ │ ├── button.tsx
│ │ ├── card.tsx
│ │ └── code.tsx
│ ├── tsconfig.json
│ └── turbo/
│ ├── generators/
│ │ ├── config.ts
│ │ └── templates/
│ │ └── component.hbs
├── turbo.json