Social network for developers
It is a small social network app that includes authentication, profiles and forum posts.
{
"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.
npm install
cd client
npm install
npm run dev