Skip to content

craftid/whatsapp-clone

Repository files navigation

MERN Starter

This project is a starter template for a MERN (MongoDB, Express, React, Node.js) stack application. It includes a client-side application built with React, TypeScript, and Vite, and a server-side application built with Node.js and Express.

PNPM

it also uses pnpm workspace

Prerequisites

  • Node.js >= 20
  • npm >= 7
  • pnpm >= 9.12

Installation

  1. Clone the repository:
git clone <repository-url>
cd mern-starter
  1. Install dependencies:
pnpm install -w

Running the application

Local (for docker skip this)

Development

To start the development server for both client and server:

pnpm run dev

Production

To build the application for production

pnpm run build

To start the application in production mode

pnpm run start

Docker

Development

pnpm run docker:dev

Production

pnpm run docker:prod

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published