Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.26 KB

File metadata and controls

53 lines (36 loc) · 1.26 KB

DevConnector

Social network for developers

It is a small social network app that includes authentication, profiles and forum posts.

Quick Start

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

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

For GitHub API, you can get an access token by following these instructions For this app we don't need to add any permissions so don't select any in the scopes. DO NOT SHARE ANY TOKENS THAT HAVE PERMISSIONS This would leave your account or repositories vulnerable, depending on permissions set.

It would also be worth adding your default.json config file to .gitignore If git has been previously tracking your default.json file then...

git rm --cached config/default.json

Then add your token to the config file and confirm that the file is untracked with git status before pushing to GitHub.

Install server dependencies

npm install

Install client dependencies

cd client
npm install

Run both Express & React from root

npm run dev