Turborepo (NestJS + Prisma + NextJS + Tailwind + Typescript + Jest) Starter

Overview

Turborepo (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 app
  • web: a Next.js app
  • ui: a stub React component library used by web.
  • config: eslint, nginx and tailwind (includes eslint-config-next and eslint-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:

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.

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.

You might also like...
Bookworm is a minimal NextJs Tailwind blog starter template.
Bookworm is a minimal NextJs Tailwind blog starter template.

Bookworm Light Nextjs Blog Template 👉🏻View Live Preview Download Download this template from Github Installation After downloading the template, you

Sample score app using NestJs, Socket.io and React

Score app Sample score app made with NestJS, Socket.IO and React Run the app $ cd app-compose $ docker-compose up -d Api access Just go to here to pla

🚀 A monorepo boilerplate built with Nx, NestJS, React, GraphQL and MongoDB.
🚀 A monorepo boilerplate built with Nx, NestJS, React, GraphQL and MongoDB.

Overview This monorepo is built using Nx, NestJS, GraphQL, MongoDB, ReactJS with other libraries like Formik, MaterialUI. Requirements Node.js npm Nx

NestJS boilerplate. Auth, TypeORM, Postgres, Docker. React, Webpack, Monorepo

NestJS boilerplate. Auth, TypeORM, Postgres, Docker. React, Webpack, Monorepo

React starter kit for static apps (NO SSR): React + Vite + wouter + jest + testing-library + Prettier + ESLint + Stylint

Intention is to have some light-weight starter kit for any react (static) applications. Faster 🚀 build time, type-safe, linting, etc, are the things which have been considered for this setup.

🚀 A web extension starter built with React, Typescript, and Tailwind CSS.
🚀 A web extension starter built with React, Typescript, and Tailwind CSS.

A web extension starter, built with React, Typescript, and Tailwind CSS. Build once, and run on multiple browsers: Google Chrome, Mozilla Firefox, Microsoft Edge, and Brave.

Next.js + Tailwind CSS + TypeScript starter packed with useful development features.
Next.js + Tailwind CSS + TypeScript starter packed with useful development features.

🔋 ts-nextjs-tailwind-starter Next.js + Tailwind CSS + TypeScript starter packed with useful development features. Made by Theodorus Clarence Features

Electron 11 + TypeScript 4.0 + Vite 2 + React 17 + Tailwind 2 + twstyled starter
Electron 11 + TypeScript 4.0 + Vite 2 + React 17 + Tailwind 2 + twstyled starter

Electron 11 + TypeScript 4.0 + Vite 2 + React 17 + Tailwind 2 + twstyled starter

Boilerplate and Starter for Next JS 12+, Tailwind CSS 3 and TypeScript
Boilerplate and Starter for Next JS 12+, Tailwind CSS 3 and TypeScript

🚀 Boilerplate and Starter for Next.js, Tailwind CSS and TypeScript ⚡️ Made with developer experience first: Next.js, TypeScript, ESLint, Prettier, Husky, Lint-Staged, Jest, Testing Library, Commitlint, VSCode, Netlify, PostCSS, Tailwind CSS.

Comments
  • Nps prepare fails

    Nps prepare fails

    Hi, I cloned this repo and ran

    npm i -g nps
    

    Afterwards I went to the root of the project's directory and ran

    nps prepare
    

    But I get following error:

    nps prepare
    nps is executing `prepare` : nps prepare.web prepare.api
    nps is executing `prepare.web` : yarn
    /bin/sh: yarn: command not found
    The script called "prepare.web" which runs "yarn" failed with exit code 127 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
    The script called "prepare" which runs "nps prepare.web prepare.api" failed with exit code 127 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
    

    Any ideas about what this is related to?

    opened by 28development 2
Owner
Ejaz Ahmed
Tech Enthusiast
Ejaz Ahmed
Boilerplate-tailwind - A simple boilerplate using NextJS, Typescript, Tailwind, Jest, Storybook and more

This is a Next.js boilerplate using TailwindCSS and other cool stuff. Most of th

React Avançado 25 Sep 28, 2022
Blog and Resume template with turborepo design with NextUI

Blog and Resume template with turborepo design with NextUI

hyesung oh 75 Sep 11, 2022
Starter template for Vite with React (TypeScript). Supports Tailwind with CSS-Modules. Jest and @react/testing-library configured and ready to go. Also ESLint, Prettier, Husky, Commit-lint and Atomic Design for components.

Mocking up web app with Vital(speed) Live Demo Features ⚡️ React 17 ?? TypeScript, of course ?? Jest - unitary testing made easy ?? Tailwind with JIT

Josep Vidal 131 Sep 21, 2022
Clerk Fastify React Prisma fullstack monorepo starter

This repo shows an example use case for how you setup a fullstack monorepo starter with Clerk, Fastify, React and Prisma to achieve authenticated cross-domain user access.

Clerk 15 Sep 24, 2022
Nextjs-ts-mui5-scss-storybook-starter - Next.js + TypeScript + Material UI v5 + Sass + Storybook starter

nextjs-ts-mui5-scss-storybook-starter ?? Next.js + TypeScript + Material UI v5 +

Muhammad Ridho Anshory 13 Sep 23, 2022
Nextjs-starter - A TypeScript starter for Next.js

Next.js TypeScript Starter Features ⚡️ Next.js 12 ⚛️ React 17 ⛑ TypeScript ?? ES

Felix Lee 4 Sep 14, 2022
Application made with Nodejs typescript framework Nestjs and Reactjs Redux Saga to simulate simple vending machine workflow.

Project Description This project was made to simulate on how vending machine works. We have two application frontend and backend. Frontend is made wit

Roshan Ranabhat 12 Feb 9, 2022
A React boilerplate using CRA5 + Craco, Typescript, Tailwind, Eslint + Prettier, Jest and Husky

Getting Started with Create React App This project was bootstrapped with Create React App. It contains the following additions: Typescript Tailwind St

Marvin de Bruin 17 Aug 31, 2022
⏪ Rewinds – Remix Tailwind Starter Kit with Tailwind CSS, Headless UI, Radix UI, and more

⏪ Rewinds – Remix Tailwind Starter Kit Rewinds is a Remix starter kit with Tailwind CSS v3 family of libraries. This is an example demo to combine the

M Haidar Hanif 57 Sep 22, 2022
Demo & testing repository for ts-nextjs-tailwind-starter expansion pack

?? ts-nextjs-tailwind-starter Next.js + Tailwind CSS + TypeScript starter packed with useful development features. Made by Theodorus Clarence Features

Theodorus Clarence 2 Dec 6, 2021