-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Noer Paanakker
committed
Nov 18, 2019
0 parents
commit 3d3804b
Showing
71 changed files
with
26,752 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules/ | ||
config/production.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# DevConnector 2.0 | ||
|
||
> Social network for developers | ||
This is a MERN stack application from the "MERN Stack Front To Back" course on [Udemy](https://www.udemy.com/mern-stack-front-to-back/?couponCode=TRAVERSYMEDIA). It is a small social network app that includes authentication, profiles and forum posts. | ||
|
||
## Quick Start | ||
|
||
``` | ||
# change default.json file in config folder | ||
# this file is located in config/default.json | ||
# add uri of your mongodb connection for example | ||
"mongoURI": "mongodb://localhost/dev-social", | ||
``` | ||
|
||
```bash | ||
# 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 | ||
``` | ||
|
||
## App Info | ||
|
||
### Author | ||
|
||
Brad Traversy | ||
[Traversy Media](http://www.traversymedia.com) | ||
|
||
### Version | ||
|
||
2.0.0 | ||
|
||
### License | ||
|
||
This project is licensed under the MIT License |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"name": "client", | ||
"version": "0.1.0", | ||
"private": true, | ||
"dependencies": { | ||
"axios": "^0.18.0", | ||
"moment": "^2.24.0", | ||
"react": "^16.8.6", | ||
"react-dom": "^16.8.6", | ||
"react-moment": "^0.9.2", | ||
"react-redux": "^7.0.2", | ||
"react-router-dom": "^5.0.0", | ||
"react-scripts": "3.0.0", | ||
"redux": "^4.0.1", | ||
"redux-devtools-extension": "^2.13.8", | ||
"redux-thunk": "^2.3.0", | ||
"uuid": "^3.3.2" | ||
}, | ||
"scripts": { | ||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject" | ||
}, | ||
"eslintConfig": { | ||
"extends": "react-app" | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
}, | ||
"proxy": "http://localhost:5000" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="theme-color" content="#000000" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" | ||
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" | ||
crossorigin="anonymous" | ||
/> | ||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> | ||
<title>Welcome To DevConnector</title> | ||
</head> | ||
<body> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<div id="root"></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"short_name": "React App", | ||
"name": "Create React App Sample", | ||
"icons": [ | ||
{ | ||
"src": "favicon.ico", | ||
"sizes": "64x64 32x32 24x24 16x16", | ||
"type": "image/x-icon" | ||
} | ||
], | ||
"start_url": ".", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"background_color": "#ffffff" | ||
} |
Binary file not shown.
Oops, something went wrong.