Skip to content

seaidear/devmeetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevMeetup - MERN-Stack Social Network

A small social network for developers built with the MERN stack. Includes authentication using JWT web tokens. The app uses Redux for client-side state management.

You can check out the live project by clicking here.

Quick Start

Add a default.json file in config folder with the following

{
  "mongoURI": "<your_mongoDB_Atlas_uri_with_credentials>",
  "jwtSecret": "secret",
  "githubToken": "<yoursecrectaccesstoken>"
}

Install server dependencies

npm install

Install client dependencies

cd client
npm install

Run both Express & React from root

npm run dev

Build for production

cd client
npm run build

Test production before deploy

NODE_ENV=production node server.js

Check in browser on http://localhost:5000/