Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 4.29 KB

README.md

File metadata and controls

74 lines (54 loc) · 4.29 KB

mern-starter

MERN Boilerplate with User Authentication

Table of Contents

Description

A Boilerplate for starting MERN applications with prebuilt Signin-Signup functionality using JWT token authentication. Clone the repo and start coding. The frontend uses Material-UI which offers great React components for faster and easier web development.

Dependencies

Installation

Prerequisites

Install Node.js and npm using the link above. Follow instructions on their respecive websites. Npm is included with Node.js. Setup MongoDB locally or on MongoDB Atlas and get the connection string. This connection string has to be pasted here for mongoose to connect to the database.

Instructions

Clone the repository

git clone https://github.com/amurto/mern-starter.git

Install all the dependencies on backend server

cd backend 
npm install

Install all the dependencies on frontend

cd frontend
npm install

Usage

Run the backend server on port 5000

cd backend
npm start

Run the frontend webapp

cd frontend
npm start

Open a web browser and go to

http://localhost:3000

License

License: MIT

MIT License Link