Skip to content
/ dev-home Public

A social network MERN stack application that includes authentication, profiles and forum posts.

Notifications You must be signed in to change notification settings

obrm/dev-home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dev-Home

Social network for developers

This is a social network MERN stack application that includes authentication, profiles and forum posts.

Website of the live project

https://obrm-dev-home.herokuapp.com/

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

After running a build in the client 👆, cd into the root of the project.
And run...

Linux/Unix

NODE_ENV=production node server.js

Windows Cmd Prompt or Powershell

$env:NODE_ENV="production"
node server.js

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

About

A social network MERN stack application that includes authentication, profiles and forum posts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published