/MERN-boilerplate

2018 Style MERN-boilerplate

Primary LanguageJavaScriptMIT LicenseMIT

MERN-boilerplate 2018

This is a MERN biolerplate with login, account, permissions, and hot-reload features. The design of the codes follows the modern Javascript and React writing style. With module-based design, the hierarchy of the code-base itself is also a template for writing MERN projects.

This is a boilerplate project using the following technologies:

Requirements

Preparation

  • Install required packages with yarn install.
  • Copy the example config file server/config.example.js to server/config.js and modify the content.
  • Create a folder for database mkdir ./db.

Running

  1. Database daemon: mongod -dbpath ./db.
  2. Node server:

Production mode:

npm run start

Development mode:

npm run start:dev

License

MIT License Copyright (C) 2018 Medicine Yeh

This work is originated from arkon/MERN-boilerplate and Eugene Cheung's work.