{"repo":"kaxi1993/mern-template","free":true,"listed":false,"github":"https://github.com/kaxi1993/mern-template","clone":"git clone https://github.com/kaxi1993/mern-template.git","description":"MERN boilerplate generator. Mongo, Express, React, Node web app.","language":"JavaScript","stars":21,"topics":["react","node","mongodb","express","redux","reactjs","nodejs","mongo","expressjs"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"mern-template mern-temlate is a cli tool for generating isomorphic and modular mongo, express, react and node web app. The project is based on the best practices and popular tools. This is not just a simple starter that generates only the folder structure, but a real example of a production ready web application. Table of contents Visualization Installation Run project Project structure Visualization Installation or Run Project or Project Structure bin bin folder contains file named www from where we start express server and connect to mongodb. config I use dotenv to load environment variables. If NODE ENV is development or test, environment variables are loaded from config/.development and config/.test files relatively. In production it is better to enter all your environment variables from console. It isn't good idea to upload environment variables on github. client client folder contains react code. I use redux and redux-saga for state management, react-router-dom to handle client side routing and material-ui as a UI framework. I use scss preprocessor with bem methodology. public public folder contains static assets. server server side code has following structure: and each module looks like this: I use jest for testing, joi for validation, passport-jwt for authentication, mongoose driver for mongodb and signale for logging. License Copyright (c) 2019 Lasha Kakhidze. This code is released under the MIT license.","default_branch":null,"files":null,"tree":[],"storefront":"/r/kaxi1993","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kaxi1993/mern-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}