A Social-Networking Website, based on the 'MERN' stack.
A Social-Networking website, based on the MERN stack.
Visit the live website
This project was bootstrapped with Create React App.
VARIABLE | Sample value |
---|---|
KEY | sample_key |
URI | mongodb://localhost/connect_plusDB |
GS_CLIENT_ID | 12121212-somestuff.apps.googleusercontent.com |
GS_SECRET | THE-SECRET |
CLOUDINARY_NAME | your_name |
CLOUDINARY_KEY | 1234567890 |
CLOUDINARY_SECRET | THE-BIG-SECRET |
mongod
.env
“.
> npm install
> npm run dev
In the project directory, you can run:
npm run dev
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console. Please note that this loads the server on http://localhost:8000. Make use of this to browse the back-end API. Also note that the server requires an active instance of the MongoDB database. Either provide a MongoDB atlas link in the URI
environment variable, or use a local database, by placing its URI in the same.
npm run client
Runs the front-end client app in the development mode.
Open http://localhost:3000 to view it in the browser.
npm run server
Runs the back-end server app in the development mode.
Open http://localhost:8000 to view it in the browser. Please note that the server requires an active instance of the MongoDB database. Either provide a MongoDB atlas link in the URI
environment variable, or use a local database, by placing its URI in the same.