Complete React MERN Full Stack Social Media App
To get started:
- Open terminal window in root of project
- Naviagate to client folder
cd client
and runnpm install
oryarn install
(depending on your package manager). - Then go back and navigate to server folder
cd server
and do the same. - in server folder create a
.env
file with following content:
MONGO_URL={Create a free cluster on mongodb atlas and get your cnnection string}
JWT_SECRET={Change this to a super long random string}
PORT=3001 #This will be your server port
- Run
yarn start
ornpm start
in both server and client directories.