Skip to content

The starter project template with MERN stack using Lerna in Typescript

License

Notifications You must be signed in to change notification settings

nk18chi/lerna-mern-stack-boilerplate

Repository files navigation

Lerna-MERN-Stack-BoilerPlate

template.mov

Requirements

Node: v20.10.0

Tech Stack

  • Typescript
  • Github Actions
  • Lerna

Components

  • Storybook
  • Material UI
  • Emotion (CSS in JS)
  • Jest
  • React Testing Library

Frontend

  • Next
  • React
  • Vitest
  • React Testing Library
  • Playwright

Backend

  • Nest
  • GraphQL
  • Prisma
  • MongoDB
  • Jest
  • mongodb-memory-server

Initialization

nvm use v20
npm install lerna -g
git clone git@github.com:nk18chi/lerna-mern-stack-boilerplate.git
npm install
lerna run dev

Please replace @nk18chi with your github account in an entire repository

Development

nvm use v20
lerna run dev --parallel

components: http://localhost:6006/
frontend: http://localhost:3000/
backend: http://localhost:4000/

Add a New Package

lerna create ${packageName}