This is fullstack typescript turborepo starter. It comes with the following features.
This turborepo uses Yarn as a package manager. It includes the following packages/apps:
api
: a NestJS appnative
: an Expo powered React native appweb
: a Next.js appui
: a stub React native web component library shared by both web
and native
config
: nginx
eslint-config-custom
: eslint configuration for webeslint-config-custom-server
: eslint configuration for nestjs apieslint-config-native
: eslint configuration for react native apptsconfig
: tsconfig.json
used throughout the monorepoEach package/app is powered by TypeScript.
This turborepo has some additional tools already setup for you:
This starter kit is using turborepo and yarn workspaces for monorepo workflow.
choco install make
If you're running it for the first time, extract the environment variables using command below. Make sure you are at root of the project.
make extract.env
then just run
make prepare
To build all apps and packages, run the following command at the root of project:
make build
To develop all apps and packages, run the following command at the root of project:
make dev
The app should be running at http://localhost
with reverse proxy configured.
Similarly,
To develop only api and packages, run the following command at the root of project:
make dev.api
To develop mobile app, api and packages, run the following command at the root of project:
make dev.native
To develop web app, api and packages, run the following command at the root of project:
make dev.web
To commit, run the following command at the root of project:
yarn commit