https://github.com/obrm/dev-home
A social network MERN stack application that includes authentication, profiles and forum posts.
https://github.com/obrm/dev-home
express full-stack mern-stack mongodb nodejs react redux
Last synced: about 1 year ago
JSON representation
A social network MERN stack application that includes authentication, profiles and forum posts.
- Host: GitHub
- URL: https://github.com/obrm/dev-home
- Owner: obrm
- Created: 2021-01-18T12:03:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-10T10:26:12.000Z (over 3 years ago)
- Last Synced: 2025-04-19T08:33:05.809Z (about 1 year ago)
- Topics: express, full-stack, mern-stack, mongodb, nodejs, react, redux
- Language: JavaScript
- Homepage: https://obrm-dev-home.herokuapp.com/
- Size: 769 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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": "",
"jwtSecret": "secret",
"githubToken": ""
}
```
### Install server dependencies
```bash
npm install
```
### Install client dependencies
```bash
cd client
npm install
```
### Run both Express & React from root
```bash
npm run dev
```
### Build for production
```bash
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
```bash
NODE_ENV=production node server.js
```
Windows Cmd Prompt or Powershell
```bash
$env:NODE_ENV="production"
node server.js
```
Check in browser on [http://localhost:5000/](http://localhost:5000/)