Full Stack responsive social network made with Node.js, MongoDB, Express.js & Passport.js and connected to Cloudinary to upload and store images.
You should install Node.js, Git and the other Javascript's npm packages that you can find in the package.json file under "dependencies".
Download or clone the repository, open the terminal and navigate into the github folder with cd command.
- Install dependencies
npm install (or -> npm i)
- Create variables.env file in the root and replace values with yours:
PORT=3000
DATABASE=your mongoDB driver url or your local database url
SECRET=what you want
Change DATABASE url and SECRET message. PORT is 3000 because of heroku deploy, but you can change it.
- Create .env file in the root and replace values with yours:
CLOUD_NAME=your cloud name in cloudinary
API_KEY=your api_key
API_SECRET=your api_secret
These are cloudinary account's variables. You have to create an account on Cloudinary, go to Dashboard, copy your account details and paste into .env file.
Run in your terminal:
npm run dev (or -> node app.js)
and go to http://localhost:3000/
- Alessandro Farè



