Skip to content

amurto/mern-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A boiler plate for starting MERN applications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published