ejazahm3d/fullstack-turborepo-starter
소개
TypeScript, NestJS, Next.js, Tailwind, Prisma, GitHub Actions, Docker 및 리버스 프록시가 구성된 풀스택 Turborepo 스타터입니다.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTurborepo (NestJS + Prisma + NextJS + Tailwind + Typescript + Jest) Starter
This is fullstack turborepo starter. It comes with the following features.
- ✅ Turborepo
- ✅ Nestjs
- ✅ Env Config with Validation
- ✅ Prisma
- ✅ NextJS
- ✅ Tailwind
- ✅ Redux Toolkit Query
- ✅ Testing using Jest
- ✅ Github Actions
- ✅ Reverse Proxy using Nginx
- ✅ Docker Integration
- ✅ Postgres Database
- ✅ Package scripts using NPS
What's inside?
This turborepo uses Yarn as a package manager. It includes the following packages/apps:
Apps and Packages
api: a NestJS appweb: a Next.js appui: a stub React component library used byweb.config:eslint,nginxandtailwind(includeseslint-config-nextandeslint-config-prettier)tsconfig:tsconfig.jsons used throughout the monorepo
Each package/app is 100% TypeScript.
Utilities
This turborepo has some additional tools already setup for you:
- Node Package Scripts for automation scripts
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
Setup
This starter kit is using turborepo and yarn workspaces for monorepo workflow.
Prerequisites
- Install nps by running
npm i -g nps
- Make sure docker and docker-compose are installed. Refer to docs for your operating system.
Configure Environment
- Frontend
cd apps/web && cp .env.example .env
- Backend
cd apps/api && cp .env.example .env
Install Dependencies
Make sure you are at root of the project and just run
nps prepare
Build
To build all apps and packages, run the following command at the root of project:
nps build
Develop
To develop all apps and packages, run the following command at the root of project:
nps dev
The app should be running at http://localhost with reverse proxy configured.
Other available commands
Run nps in the terminal to see list of all available commands.
관련 프로젝트 살펴보기
불러오는 중…