Skip to content
/ MERN-App-Template Public template

Simple starter kit for a MERN stack web application.

Notifications You must be signed in to change notification settings

imbenrabi/MERN-App-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN Stack App Template

This project was bootstrapped with Create React App, adding on to it express-mongoose server.

General description

Node.js server serving React.Js app using es6 features(through Babel).

Installation

  • Make sure you have Node.js installed
  • Clone the repo
  • run yarn

Start

  • Runs the app in the development mode.

  • Open http://localhost:3000 to view it in the browser.

  • The page will reload if you make edits.

  • You will also see any lint errors in the console.

Build

  • Builds the app for production to the build folder.

  • It correctly bundles React in production mode and optimizes the build for the best performance.

  • The build is minified and the filenames include the hashes.

  • See the section about deployment for more - information.

Starting the server

  • run yarn start:server (nodemon keeps the process alive).

Roadmap

  • Adding auth middleware.
  • Adding second mongoose model.
  • Better abstracting of mongoResp service.