PiyushPawar17 / mern-boilerplate

Boilerplate for MERN Stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MERN Boilerplate

My MERN Stack Boilerplate


Usage

  • Download or clone this repo.
  • Add keys_dev.js file in config folder with the following structure.
module.exports = {
	mongoURI: 'YOUR_MONGO_URI',
	secretOrKey: 'YOUR_SECRET_KEY'
};
  • Install Back-end Dependencies.
yarn
  • Install Front-end Dependencies.
yarn run client-install
  • Run Development Server.
yarn run dev
  • To run only Back-end Server.
yarn run server
  • To run only Front-end Server.
yarn run client

Details

  • routes/api folder contains user Registration and Login Routes.
  • config folder contains keys and Passport Google Strategy.
  • utils folder contains utility functions for input validation.
  • Sass / SCSS is used for styling.

About

Boilerplate for MERN Stack


Languages

Language:JavaScript 86.6%Language:HTML 10.1%Language:CSS 3.3%