an open-source full-stack JavaScript solution
MERNjs is an open-source full-stack JavaScript solution, which provides a solid starting point for MongoDB, Express, React and Node.js based applications. The idea is to solve the common issues with connecting those frameworks, build a robust framework to support daily development needs, and help developers use better practices while working with popular JavaScript components.
Before we begin, recommend to read about the basic building blocks that assemble a MERNjs application:
Make sure we have installed all of the following prerequisites on our development machine:
$ npm install
$ npm run build
$ npm run start
$ npm run start:debug
$ npm run start:dev
$ npm run start:dev:client
$ npm run start:dev:server
$ npm run lint
$ npm run format
Note: Set the environment variables in .env
file and make sure the MongoDB server is running.
.git/hooks/pre-commit
):#!/bin/sh
npm run lint
npm run format
npm run build