A MERN stack social network application with MVP features implemented: user authentication, profile viewing, posting, commenting, and following/unfollowing.
First, install the dependencies:
cd into the directory and run npm install.cd client && npm install.Next, set up the database credentials:
secrets.js, located in backend folder, with the connection string. Replace someUser and <password> with the user and password you created in step 2.cd back into the main directory and run npm start. You can access the site at localhost:3000.Optional: If you want to also deploy the app to Heroku, first go through the aforementioned steps and then proceed as follows:
secrets.js. REACT_APP_JWT_KEY can be set to any random string.