This is an official starter Turborepo.
This Turborepo includes the following packages/apps:
.
βββ apps
β   βββ api                       # NestJS app (https://nestjs.com).
β   βββ web                       # Next.js app (https://nextjs.org).
βββ packages
    βββ @valley/api                 # Shared `NestJS` resources.
    βββ @valley/eslint-config       # `eslint` configurations (includes `prettier`)
    βββ @valley/jest-config         # `jest` configurations
    βββ @valley/typescript-config   # `tsconfig.json`s used throughout the monorepo
    βββ @valley/ui                  # Shareable stub React component library.
Each package and application are 100% TypeScript safe.
This Turborepo has some additional tools already set for you:
- TypeScript for static type-safety
- ESLint for code linting
- Prettier for code formatting
- Jest & Playwright for testing
# Will build all the app & packages with the supported `build` script.
yarn build
# βΉοΈ If you plan to only build apps individually,
# Please make sure you've built the packages first.# Will run the development server for all the app & packages with the supported `dev` script.
yarn dev# Will lint all the app & packages with the supported `lint` script.
# See `@valley/eslint-config` to customize the behavior.
yarn lint# Will format all the supported `.ts,.js,json,.tsx,.jsx` files.
# See `@valley/eslint-config/prettier-base.js` to customize the behavior.
yarn formatEnsure your machine has this packages installed: libvips, libvips-tools, libvips-dev
If some of services are inaccessible from network, run the following command to proxy it.
PORT is your desired port to proxy from WSL to your network.
WSL_IP can be retrieved from hostname -I command.
netsh interface portproxy add v4tov4 listenport=<PORT> listenaddress=0.0.0.0 connectport=<PORT> connectaddress=<WSL_IP>