Skip to content

A Open-Source Full-Stack Solution For MERN (MongoDB, ExpressJS, ReactJS and NodeJS) Applications.

License

Notifications You must be signed in to change notification settings

ashfaqrafi/MERNjs

 
 

Repository files navigation

MERNjs

an open-source full-stack JavaScript solution

MERNjs Logo

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 You Begin

Before we begin, recommend to read about the basic building blocks that assemble a MERNjs application:

Prerequisites

Make sure we have installed all of the following prerequisites on our development machine:

Getting Started

Install the dependencies:

$ npm install

Build the application:

$ npm run build

Run the application:

$ npm run start
$ npm run start:debug
$ npm run start:dev
$ npm run start:dev:client
$ npm run start:dev:server

Run the Linter and Prettier:

$ npm run lint
$ npm run format

Note: Set the environment variables in .env file and make sure the MongoDB server is running.

Setup git hooks for commit (.git/hooks/pre-commit):

#!/bin/sh

npm run lint
npm run format
npm run build

About

A Open-Source Full-Stack Solution For MERN (MongoDB, ExpressJS, ReactJS and NodeJS) Applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 79.3%
  • JavaScript 20.4%
  • Pug 0.3%