Skip to content

KevTLW/MERN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN Boilerplate

A simple web application that serves as a boilerplate to quickly develop MERN stack applications. This project makes use of MongoDB, Express, React, and Node.js. This boilerplate already includes authentication/authorization thanks to Passport and provides support for Sass.

Dependencies

After installing Node and cloning the repository, set your environment variables inside of a .env file like this:

JWT=# JWT Secret here
MONGO=# MongoDB URI here

Once the environment variables are set, we install dependencies by running:

npm run setup

Start

To start the backend server, run:

npm run server

To start the frontend client, run:

npm run client

To start the server and the client simultaneously, run:

npm run dev

Prefer Redux?

In order to use Redux for state management instead of the React Context API, switch to the redux branch by running:

git checkout redux

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published