kiranojhanp / fullstack-typescript-turborepo-starter

Fullstack Typescript Turborepo starter. Typescript, Nestjs, Nextjs, React native, Github Actions, Docker, And Reverse proxy configured
MIT License
10 stars 3 forks source link

Turborepo (NestJS + NextJS + React Native + Typescript + Jest) Starter

This is fullstack typescript turborepo starter. It comes with the following features.

What's inside?

This turborepo uses Yarn as a package manager. It includes the following packages/apps:

Apps and Packages

Each package/app is powered by TypeScript.

Utilities

This turborepo has some additional tools already setup for you:

Setup

This starter kit is using turborepo and yarn workspaces for monorepo workflow.

Prerequisites

choco install make

Install Dependencies

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

Build

To build all apps and packages, run the following command at the root of project:

make build

Develop

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

Develop

To commit, run the following command at the root of project:

yarn commit