All Projects → ConnerAiken → mern-boilerplate

ConnerAiken / mern-boilerplate

Licence: MIT license
React + Express + Webpack + Mongo = MERN Stack Boilerplate

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Dockerfile
14818 projects
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to mern-boilerplate

mern-apollo-graphql-boilerplate
MERN + Apollo-Graphql Boilerplate
Stars: ✭ 21 (-46.15%)
Mutual labels:  mern, mern-boilerplate, mern-stack
mern-stack-crud
MERN stack (MongoDB, Express, React and Node.js) create read update and delete (CRUD) web application example
Stars: ✭ 142 (+264.1%)
Mutual labels:  expressjs, mern, mern-stack
amazin
A MERN-stack app for eCommerce platform, Webshop, Web Store. Storybook: https://www.amazin.one/ Alternative: https://ntrix.github.io/amazin-story
Stars: ✭ 27 (-30.77%)
Mutual labels:  mern, mern-stack
MCW-OSS-PaaS-and-DevOps
MCW OSS PaaS and DevOps
Stars: ✭ 49 (+25.64%)
Mutual labels:  mern, mern-stack
react-app-simple-chat-app
A Simple Chat Application using MERN stack (MongoDB, Express JS, React JS, Node JS) and Socket.io for real time chatting
Stars: ✭ 41 (+5.13%)
Mutual labels:  expressjs, mern-stack
Express React Boilerplate
Express, MySQL, React/Redux, NodeJs Application Boilerplate
Stars: ✭ 179 (+358.97%)
Mutual labels:  eslint, expressjs
React Cnodejs.org
Material UI version of cnodejs.org, the biggest Node.js Chinese community.
Stars: ✭ 242 (+520.51%)
Mutual labels:  eslint, express-js
express-file-upload
Node.js Express Upload/Download File Rest APIs example with Multer
Stars: ✭ 64 (+64.1%)
Mutual labels:  expressjs, express-js
tutorial-crud-mean
Repositório responsável pelo tutorial realizado no canal do youtube
Stars: ✭ 41 (+5.13%)
Mutual labels:  eslint, expressjs
MERN-Boilerplate
A simple Mern Boilerplate with auth
Stars: ✭ 112 (+187.18%)
Mutual labels:  mern-boilerplate, mern-stack
auto-async-wrap
automatic async middleware wrapper for expressjs errorhandler.
Stars: ✭ 21 (-46.15%)
Mutual labels:  expressjs, express-js
express-crud-router
Simply expose resource CRUD (Create Read Update Delete) routes for Express & Sequelize. Compatible with React Admin Simple Rest Data Provider
Stars: ✭ 109 (+179.49%)
Mutual labels:  expressjs, express-js
Next Express Bootstrap Boilerplate
⚡️ JavaScript boilerplate for a full stack app built using React.js, Next.js, Express.js, react-bootstrap, SCSS and full SSR with eslint.
Stars: ✭ 102 (+161.54%)
Mutual labels:  eslint, expressjs
Express Babel
Express starter kit with ES2017+ support, testing, linting, and code coverage
Stars: ✭ 621 (+1492.31%)
Mutual labels:  eslint, expressjs
Nodebestpractices
✅ The Node.js best practices list (December 2021)
Stars: ✭ 72,734 (+186397.44%)
Mutual labels:  eslint, expressjs
Next Shopify Storefront
🛍 A real-world Shopping Cart built with TypeScript, NextJS, React, Redux, Apollo Client, Shopify Storefront GraphQL API, ... and Material UI.
Stars: ✭ 317 (+712.82%)
Mutual labels:  eslint, expressjs
inCyberPunk2022
👾 https://cybersocial.herokuapp.com/   C̵̡̡͓̪̺̲̺̳̭̱̩͖͔̽̈́͜y̵̢̺̮̥̠̲̼̫͗b̴̲͇̟̭̹͆͒̈́̒͋̃̌̇̈̆̚͠͠ȅ̷̡̢̩̺̏r̴̢̛̹̲̜͙͉̩̩̣͉̺͂̀́̈́̇͛͋̊̉̈́̇P̵̡͊̚ų̵̙̣͓̤̼̭̤̥̯̻̯̒ͅň̸̛̯͕̦̦͓̙̋͐̈́́̉ͅḱ̷̡̪͚͉̟̘̳̯̳͉̈́͐͂̇̾͑̕̕͝ͅ
Stars: ✭ 28 (-28.21%)
Mutual labels:  mern, mern-stack
react-ssr-spa
Server side rendered single page app using reactjs official libraries.
Stars: ✭ 30 (-23.08%)
Mutual labels:  eslint, expressjs
webpack-4-react-bootstrap-starter-template
Starter boilerplate template for webpack 4 with React, Bootstrap 4
Stars: ✭ 16 (-58.97%)
Mutual labels:  eslint, sass-loader
BotBlock.org
BotBlock - The List of Discord Bot Lists and Services
Stars: ✭ 29 (-25.64%)
Mutual labels:  expressjs, express-js

MERN Boilerplate - MongoDB, Express, React, NodeJS

Status

Build Status

Dependencies

  • Python 2 (node-gyp)
  • NodeJS (9+ preferred)
  • Docker (CE is fine, 17+ preferred)

Features

Full stack javascript, so get the latest version of Node!

  • Webpack 4
  • React
  • Express
  • Sass
  • ES6 - Stage-0+
  • Linting
  • UI/Unit Tests

Installation

  1. git clone <this_url> && cd <repo_name>

  2. npm install

  3. Running the application

    • Development Mode (Client only): npm run dev then open http://localhost:8080 in a browser
    • Production Bundle (Client only): npm run build then import the client code somewhere
    • Standalone (Client+Server): npm start then open http://localhost:8080 in a browser
    • Dockerized /w MongoDB: npm run start:docker - more to come

Usage

A 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.

Assumptions

  • You have all dependencies installed and are using NPM or Yarn
  • 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.
  • If you run the 'npm run updateDeps' script, you will need to have npm-check-updates globally installed: npm install -g npm-check-updates
  • Your user account is part of the docker group for sudo access

Transpiling/Bundling/Polyfills

We currently use babel configured with preset-env, preset-react and preset-stage-0. Eventually the polyfill.io cdn will be primarily used.

Resources/Sources

Lifecycle scripts

  • npm start
  • npm run dev
  • npm run upgradeDeps
  • npm run build
  • npm test

Credits

Valentino G

TODO

  • Add polyfill.io to html-webpack-plugin
  • Add mocha/webdriverio tests
  • Using webpack-merge or lodash for webpack.env.js files
  • Add documentation library
  • Setup ESLint
  • Add colors to logging
  • Fix load order (DOM flash)
  • Add deployment command for dockerized mongodb
  • Integrate docker commands into travis?
  • Add webpack bundle analyzer npm script (pipe --stats > stats.json directly into analyzer)
  • Setup provisioning of mongodb
  • Add database connectors
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].