百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

mern

> 前端框架
开源

:tada: 这是一个包含 Redux 和 SSR 等集成的 MERN 堆栈的模板 :tada:

99 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

:tada: 这是一个包含 Redux 和 SSR 等集成的 MERN 堆栈的模板 :tada:

MERN-BoilerPlate

This is boilerplate for MERN stack with integrations like Redux and SSR

Table of Contents

  • Getting Started
  • Configurations
    • mern.json
  • Starting development setup
    • Using CWA
  • Start Editing
  • technology
  • Features
  • addons using mern.json
  • license
  • contributors

Support

Getting Started

  • Clone the project

  • Install the Dependencies

bash
$ npm i
  • Run the server
bash
$ npm run server:dev

configs for addons v1

You can add addons for this project by simply editing the mern.json and then running npm run develop

mern.json

  • default options
json
{
	"styles": "none",
	"stateManager": "none"
}
  • For adding styles

    • "styles": "styled-components" for styled-components
    • "styles": "css-modules" for css-modules using webpack
  • For adding state manager

    • "stateManager": "redux" for redux store

Run npm run develop or yarn develop after changing mern.json

You can check the scripts folder for the implementation of these. Can even add your own addons. Try to replicat how the other addons are build Soon gonna add plugin system in this project, then it will be much simpler to create own plugins which can do different stuffs like SSR with store injections, managing webpack.config.js. That will be the main feature for v2

More addons are coming soon.

these addons should be added before you start editing or working on this project

Starting development setup

  • Run the webpack server
bash
$ npm run watch

and, start making changes in src/client and src/server folders.

  • For running the production server
bash
$ npm run server:prod

You can Also add this using This Package

bash
$ npm i -g @buildtip/create-web-app
$ cwa

And then on question no. 4 that is Please Select Project Stack [ Required ] : Type: 1

Start Editing

Look for the config/index.js for making changes in the configs of the project

  • Edit the src/client/index.js to make changes for client

  • Edit the src/server/index.js to make changes in the server

technology

  • NodeJS - Server
  • ExpressJS - Nodejs framework
  • MongoDB - Database
  • ReactJS - Frontend
  • Redux - State Management
  • Docker - Containerization and image
  • Eslint - Linter
  • Webpack - Bundler
  • Babel - Loader and Compiler/Transpiler
  • Jest - Testing Framework

Features

  • Server Side Rendering
  • Image for Container
  • Routing
  • Model Controller Project Structure
  • Build Pipelines
  • Tests
  • Examples (live in codesandbox)

addons using mern.json

  • State Management
    • Redux
  • Styling
    • styled-components (css-in-js)

todo - addons

  • state-manager

    • Mobx
    • Context API
  • styles

    • emotion
    • postcss support (css modules, cssnano)
    • css modules (using webpack)
    • linaria
    • aphrodite

LICENSE

Contributors

Thanks goes to these wonderful people (emoji key):

Anix ⚠️

przemwierzbicki ⚠️

Anmol Varma ⚠️

Fasoro-Joseph Alexander ⚠️

Yash Pahalajani

GT Deng

wincentrtz

elsonlim ⚠️

jeffin sam

This project follows the all-contributors specification. Contributions of any kind welcome!

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptboilerplateexpressjsmernmongodb

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架