Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nishkohli96/react-node-ts-monorepo

A pre-configured highly customizable React-Node monorepo template with choice of create-react-app or nextjs for frontend; expressjs or nestjs app for backend .
https://github.com/nishkohli96/react-node-ts-monorepo

docker docker-compose fastify fullstack fullstack-template fullstack-typescript github-actions monorepo nestjs nestjs-template nodejs react reactjs reactjs-template redux template typescript

Last synced: about 1 month ago
JSON representation

A pre-configured highly customizable React-Node monorepo template with choice of create-react-app or nextjs for frontend; expressjs or nestjs app for backend .

Awesome Lists containing this project

README

        

# react-node-ts-monorepo

**The ideal repository for full-stack web development with ReactJS, NextJS as the frontend and ExpressJS, NestJS-fastify server as the backend**

You can clone the full repo and keep only the packages you need in your monorepo, or just retain the source code of a single app, say [express-server](./apps/express-server/) to get started. I'll try my level best to keep all the dependencies in these repos upto date, while also adhering to the industry best practices.

## Features

- [Turborepo](https://turborepo.org/)
- [React](https://reactjs.org/), [NestJs](https://nestjs.com/), [ExpressJS](https://expressjs.com/), [NestJS](https://nestjs.com/)
- 100% [Typescript](https://www.typescriptlang.org/)
- [Prettier](https://prettier.io/) and [Eslint](https://eslint.org/) setup alongside `pre-commit` hook.
- [Mui v6](https://mui.com/) alongside theme change preconfigured.
- [Dockerize](https://docs.docker.com/) images
- Github Actions to build apps and publish their docker images

## Get Started

Place the shared packages in the `packages` folder & the applications code in the `apps` folder.
If you do not wish to use Turborepo, delete `turbo.json` and remove it from `devDependencies` of the package.json in the root directory.

Install `node_modules`

```
yarn
```

Add relavant scripts in the root package.json for the frontend and backend apps of your choice.

Build, run, lint or test all your apps in one command thanks to [Turborepo's Pipelines](https://turborepo.org/docs/core-concepts/pipelines)

## Support Me

If you found this template helpful and saved your valuable time, consider [buying me a coffee](https://www.buymeacoffee.com/nish1896)