Social network for developers
This is a MERN stack application from the "MERN Stack Front To Back" course on Udemy. It is a small social network app that includes authentication, profiles and forum posts.
Updates since course published
Such is the nature of software; things change frequently, newer more robust paradigms emerge and packages are continuously evolving. Hopefully the below will help you adjust your course code to manage the most notable changes.
The master branch of this repository contains all the changes and updates, so if you're following along with the lectures in the Udemy course and need reference code to compare against please checkout the origionalcoursecode branch. Much of the code in this master branch is compatible with course code but be aware that if you adopt some of the changes here, it may require other changes too.
After completing the course you may want to look through this branch and play about with the changes.
Changes to GitHub API authentication
Since the course was published, GitHub has depreciated authentication via URL query parameters 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
config file to
.gitignore If git has been previously
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.
GitHub does have your back here though. If you accidentally push
code to a repository that contains a valid access token, GitHub
will revoke that token. Thanks GitHub