{"id":14957637,"url":"https://github.com/conneraiken/mern-boilerplate","last_synced_at":"2025-10-12T02:32:11.780Z","repository":{"id":243547617,"uuid":"127497508","full_name":"ConnerAiken/mern-boilerplate","owner":"ConnerAiken","description":"React + Express + Webpack + Mongo = MERN Stack Boilerplate","archived":false,"fork":false,"pushed_at":"2023-08-23T19:27:43.000Z","size":1517,"stargazers_count":40,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-12T16:03:15.192Z","etag":null,"topics":["boilerplate","es6","es6-javascript","eslint","express","express-js","expressjs","mern","mern-boilerplate","mern-stack","react","sass-loader","webpack"],"latest_commit_sha":null,"homepage":"","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/ConnerAiken.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2018-03-31T04:04:02.000Z","updated_at":"2024-01-09T08:01:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"d3ee020a-f1b5-4ed6-ba61-d889f272ea2c","html_url":"https://github.com/ConnerAiken/mern-boilerplate","commit_stats":null,"previous_names":["conneraiken/mern-boilerplate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnerAiken%2Fmern-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnerAiken%2Fmern-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnerAiken%2Fmern-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnerAiken%2Fmern-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConnerAiken","download_url":"https://codeload.github.com/ConnerAiken/mern-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224305847,"owners_count":17289446,"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","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","es6","es6-javascript","eslint","express","express-js","expressjs","mern","mern-boilerplate","mern-stack","react","sass-loader","webpack"],"created_at":"2024-09-24T13:15:16.549Z","updated_at":"2025-10-12T02:32:06.761Z","avatar_url":"https://github.com/ConnerAiken.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MERN Boilerplate - MongoDB, Express, React, NodeJS\n\n## Status\n\n [![Build Status](https://travis-ci.org/ConnerAiken/mern-boilerplate.svg?branch=master)](https://travis-ci.org/ConnerAiken/mern-boilerplate)\n\n## Dependencies \n\n- Python 2 (node-gyp)\n- NodeJS (9+ preferred)\n- Docker (CE is fine, 17+ preferred)\n\n## Features\n\n*Full stack javascript, so get the latest version of Node!*\n\n- [X] Webpack 4\n- [X] React \n- [X] Express\n- [X] Sass\n- [X] ES6 - Stage-0+\n- [ ] Linting\n- [ ] UI/Unit Tests\n\n## Installation\n\n1) `git clone \u003cthis_url\u003e \u0026\u0026 cd \u003crepo_name\u003e`\n\n2) `npm install`\n\n3) Running the application\n   - Development Mode (Client only): `npm run dev` then open `http://localhost:8080` in a browser\n   - Production Bundle (Client only): `npm run build` then import the client code somewhere\n   - Standalone (Client+Server): `npm start` then open `http://localhost:8080` in a browser\n   - Dockerized /w MongoDB: `npm run start:docker` - more to come\n\n## Usage\n\nA good place to start would be the .env files. Copy `.env.default` in the root of the project and name the copy `.env`. Replace the values as you see fit. Next, open `docker-compose.yml` and replace the text 'boilerplate' with the app name you put in the env file. After that, you should be in a good place to start customizing it.\n\n## Assumptions\n\n- You have all dependencies installed and are using NPM or Yarn\n- This boilerplate was developed using linux mint (Ubuntu 14 - Xenial), it should be cross platform so please report any issues using the github issue tracker.\n- If you run the 'npm run updateDeps' script, you will need to have npm-check-updates globally installed: `npm install -g npm-check-updates`   \n- Your user account is part of the docker group for sudo access\n\n## Transpiling/Bundling/Polyfills\n\nWe currently use babel configured with preset-env, preset-react and preset-stage-0. Eventually the polyfill.io cdn will be primarily used.\n\n## Resources/Sources\n\n### Lifecycle scripts\n\n- npm start\n- npm run dev\n- npm run upgradeDeps\n- npm run build\n- npm test\n\n### Credits\n[Valentino G](https://www.valentinog.com/blog/webpack-4-tutorial/)\n\n## TODO\n\n- [ ] Add polyfill.io to html-webpack-plugin\n- [ ] Add mocha/webdriverio tests\n- [ ] Using webpack-merge or lodash for webpack.*env*.js files\n- [ ] Add documentation library\n- [ ] Setup ESLint\n- [ ] Add colors to logging\n- [ ] Fix load order (DOM flash)\n- [ ] Add deployment command for dockerized mongodb\n- [ ] Integrate docker commands into travis?\n- [ ] Add webpack bundle analyzer npm script (pipe --stats \u003e stats.json directly into analyzer)\n- [ ] Setup provisioning of mongodb\n- [ ] Add database connectors","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconneraiken%2Fmern-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconneraiken%2Fmern-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconneraiken%2Fmern-boilerplate/lists"}