This is a next.js implementation of devconnetor-2.0 from this udemy course made by bradtraversy.
This version of the app does not have ->
1. Any flashing of protected pages
2. Redux (but uses next.js way of authentication)
Clone the repo
git clone https://github.com/FeroniK/devconnector-nextjs.git
Use the package manager npm to install the dependencies.
npm install
Make a .env file in the root of the project and then put the following content
MONGO_URI=
PORT=3000
jwtSecret=
githubClientSecret=
githubClientID=
githubTOKEN=
Run the App
npm run dev