{"id":15617053,"url":"https://github.com/anikethsaha/mern","last_synced_at":"2025-09-10T10:40:59.091Z","repository":{"id":36369020,"uuid":"182749574","full_name":"anikethsaha/mern","owner":"anikethsaha","description":" :tada: This is boilerplate for MERN stack with integrations like Redux and SSR  :tada:","archived":false,"fork":false,"pushed_at":"2023-08-11T15:53:22.000Z","size":2763,"stargazers_count":99,"open_issues_count":18,"forks_count":45,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-21T16:39:54.782Z","etag":null,"topics":["boilerplate","expressjs","mern","mongodb","nodejs","reactjs","redux","server-side-rendering","ssr","webpack"],"latest_commit_sha":null,"homepage":"https://mern.netlify.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anikethsaha.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.buymeacoffee.com/eydPs6n","paypal.me/anikethsaha"]}},"created_at":"2019-04-22T10:25:10.000Z","updated_at":"2024-09-16T07:51:48.000Z","dependencies_parsed_at":"2024-10-22T19:22:24.180Z","dependency_job_id":null,"html_url":"https://github.com/anikethsaha/mern","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/anikethsaha/mern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anikethsaha%2Fmern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anikethsaha%2Fmern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anikethsaha%2Fmern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anikethsaha%2Fmern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anikethsaha","download_url":"https://codeload.github.com/anikethsaha/mern/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anikethsaha%2Fmern/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274447923,"owners_count":25287116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate","expressjs","mern","mongodb","nodejs","reactjs","redux","server-side-rendering","ssr","webpack"],"created_at":"2024-10-03T07:41:14.537Z","updated_at":"2025-09-10T10:40:59.065Z","avatar_url":"https://github.com/anikethsaha.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/eydPs6n","paypal.me/anikethsaha"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\n\u003cimg alt=\"efba logo\" src=\"https://imgur.com/yr0sfsR.png\" width=\"250px\" /\u003e\n\n\u003c/p\u003e\n\u003ch2 align=\"center\"\u003eMERN-BoilerPlate\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n\n \u003ca href=\"https://travis-ci.org/anikethsaha/MERN-Boilerplate/branches\"\u003e\n    \u003cimg alt=\"badgeprs\" src=\"https://travis-ci.org/anikethsaha/MERN.svg?branch=master\" /\u003e\n  \u003c/a\u003e\n   \u003ca href=\"#contributors\"\u003e\n    \u003cimg alt=\"contributors\" src=\"https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square\" /\u003e\n  \u003c/a\u003e\n\u003ca href=\"https://app.netlify.com/sites/mern/deploys\"\u003e\n  \u003cimg alt=\"netlify\" src=\"https://api.netlify.com/api/v1/badges/7d38e333-4856-4eed-99b4-a6635594a281/deploy-status\" /\u003e\n \u003c/a\u003e\n\u003ca href='https://coveralls.io/github/anikethsaha/MERN-Boilerplate?branch=master'\u003e\u003cimg src='https://coveralls.io/repos/github/anikethsaha/MERN-Boilerplate/badge.svg?branch=master' alt='Coverage Status' /\u003e\u003c/a\u003e\n\n  \u003ca href=\"https://dependabot.com/\"\u003e\n    \u003cimg alt=\"badgeprs\" src=\"https://badgen.net/badge/Dependabot/enabled/green?icon=dependabot\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n    \u003cimg alt=\"badgeprs\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" /\u003e\n  \u003c/a\u003e\n  \u003cimg alt=\"badgeprs\" src=\"https://img.shields.io/badge/PRs-Welcome-green.svg\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  This is boilerplate for MERN stack with integrations like Redux and SSR\n\u003c/p\u003e\n\u003cbr\u003e\u003cbr\u003e\n\n[![Edit MERN](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/mern-gq5eb?fontsize=14)\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://evening-woodland-07645.herokuapp.com/#/)\n\n## Table of Contents\n\n-   [Getting Started](#getting-started)\n-   [Configurations](#configs-for-addons-v1)\n    -   [`mern.json`](#mernjson)\n-   [Starting development setup](#starting-development-setup)\n    -   [Using CWA](#you-can-also-add-this-using-this-package)\n-   [Start Editing](#start-editing)\n-   [technology](#technology)\n-   [Features](#features)\n-   [addons using `mern.json`](#addons-using-mernjson)\n-   [license](#license)\n-   [contributors](#contributors)\n\n## Support \n\n\n\u003ca href=\"https://www.buymeacoffee.com/eydPs6n\" target=\"_blank\"  \u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" style=\"height: 25px !important;width: 50px !important;\" \u003e\u003c/a\u003e\n\n\n## Getting Started\n\n-   **Clone the project**\n\n-   **Install the Dependencies**\n\n```bash\n$ npm i\n```\n\n-   **Run the server**\n\n```bash\n$ npm run server:dev\n```\n\n## configs for addons v1\n\nYou can add addons for this project by simply editing the `mern.json` and then running `npm run develop`\n\n### `mern.json`\n\n-   default options\n\n```json\n{\n\t\"styles\": \"none\",\n\t\"stateManager\": \"none\"\n}\n```\n\n-   For adding `styles`\n\n    -   `\"styles\": \"styled-components\"` for styled-components\n    -   `\"styles\": \"css-modules\"` for css-modules using webpack\n\n-   For adding state manager\n    -   `\"stateManager\": \"redux\"` for redux store\n\n**Run `npm run develop` or `yarn develop` after changing `mern.json`**\n\nYou can check the `scripts` folder for the implementation of these. Can even add your own addons.\nTry to replicat how the other addons are build\nSoon 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`.\nThat will be the main feature for **v2**\n\nMore addons are coming soon.\n\n\u003e these addons should be added before you start editing or working on this project\n\n## Starting development setup\n\n-   **Run the webpack server**\n\n```bash\n$ npm run watch\n```\n\nand, start making changes in `src/client` and `src/server` folders.\n\n-   **For running the production server**\n\n```bash\n$ npm run server:prod\n```\n\n### You can Also add this using [This Package](https://www.npmjs.com/package/@buildtip/create-web-app)\n\n```bash\n$ npm i -g @buildtip/create-web-app\n$ cwa\n\n```\n\nAnd then on question `no. 4` that is `Please Select Project Stack [ Required ] :` Type: **`1`**\n\n## Start Editing\n\nLook for the `config/index.js` for making changes in the configs of the project\n\n-   _Edit_ the src/client/index.js to make changes for client\n\n-   _Edit_ the src/server/index.js to make changes in the server\n\n## technology\n\n-   NodeJS - Server\n-   ExpressJS - Nodejs framework\n-   MongoDB - Database\n-   ReactJS - Frontend\n-   Redux - State Management\n-   Docker - Containerization and image\n-   Eslint - Linter\n-   Webpack - Bundler\n-   Babel - Loader and Compiler/Transpiler\n-   Jest - Testing Framework\n\n## Features\n\n-   [x] Server Side Rendering\n-   [x] Image for Container\n-   [x] Routing\n-   [x] Model Controller Project Structure\n-   [x] Build Pipelines\n-   [x] Tests\n-   [x] Examples (live in codesandbox)\n\n## addons using `mern.json`\n\n-   [x] State Management\n    -   Redux\n-   [x] Styling\n    -   styled-components (css-in-js)\n\n## todo - addons\n\n-   `state-manager`\n    -   [ ] Mobx\n    -   [ ] Context API\n-   `styles`\n\n    -   [ ] emotion\n    -   [ ] postcss support (css modules, cssnano)\n    -   [x] css modules (using webpack)\n    -   [ ] linaria\n    -   [ ] aphrodite\n\n## [LICENSE](https://github.com/anikethsaha/MERN-Boilerplate/blob/master/LICENSE)\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://anikethsaha.github.io\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/26347874?v=4\" width=\"100px;\" alt=\"Anix\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAnix\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-anikethsaha\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/anikethsaha/mern/commits?author=anikethsaha\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"#ideas-anikethsaha\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"#maintenance-anikethsaha\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e \u003ca href=\"#design-anikethsaha\" title=\"Design\"\u003e🎨\u003c/a\u003e \u003ca href=\"https://github.com/anikethsaha/mern/commits?author=anikethsaha\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/przemwierzbicki\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/47298942?v=4\" width=\"100px;\" alt=\"przemwierzbicki\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eprzemwierzbicki\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-przemwierzbicki\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/anikethsaha/mern/commits?author=przemwierzbicki\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/anikethsaha/mern/commits?author=przemwierzbicki\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/anmol5varma\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/11690393?v=4\" width=\"100px;\" alt=\"Anmol Varma\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAnmol Varma\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-anmol5varma\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/anikethsaha/mern/commits?author=anmol5varma\" title=\"Tests\"\u003e⚠️\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/lexcorp16\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/14166260?v=4\" width=\"100px;\" alt=\"Fasoro-Joseph Alexander\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eFasoro-Joseph Alexander\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-lexcorp16\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/anikethsaha/mern/commits?author=lexcorp16\" title=\"Tests\"\u003e⚠️\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://in.linkedin.com/in/ypahalajani\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/14838485?v=4\" width=\"100px;\" alt=\"Yash Pahalajani\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eYash Pahalajani\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-ypahalajani\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/anikethsaha/mern/commits?author=ypahalajani\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/anikethsaha/mern/commits?author=ypahalajani\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"https://github.com/anikethsaha/mern/issues?q=author%3Aypahalajani\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/gtdeng\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/10056474?v=4\" width=\"100px;\" alt=\"GT Deng\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eGT Deng\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-gtdeng\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/wincentrtz\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/33319957?v=4\" width=\"100px;\" alt=\"wincentrtz\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ewincentrtz\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/anikethsaha/mern/commits?author=wincentrtz\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/elsonlim\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/10349496?v=4\" width=\"100px;\" alt=\"elsonlim\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eelsonlim\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/anikethsaha/mern/commits?author=elsonlim\" title=\"Tests\"\u003e⚠️\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://www.jeffinsam.me\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/21286134?v=4\" width=\"100px;\" alt=\"jeffin sam\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ejeffin sam\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-jeffin143\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/anikethsaha/mern/issues?q=author%3Ajeffin143\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/anikethsaha/mern/commits?author=jeffin143\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-enable --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanikethsaha%2Fmern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanikethsaha%2Fmern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanikethsaha%2Fmern/lists"}