Skip to content

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run this project on your local machine ?

Recommended terminal: git bash

1. Download this project or command with git clone

git clone https://github.com/tohidbinazam/facebook.git

Note: Copy any code and just right click on mouse in your terminal,
Result: Auto past it.

2. Open terminal in project root folder 'Instagram' and run those commands

npm install
cd client
npm install

and 👇

cd ..

3. In project root folder create a file, name '.env' by using this command

touch .env

4. Open .env file by 1st command, past the bellow codes and update those info

start .env
PORT = `Give a server port example 5050`
APP_URL = http://localhost:3000
MONGO_STRING = `Hear is your MongoDB database string`
SECRET_KEY = `JWT secret key`

mail service with Gmail:
MAIL_USER = 
MAIL_PASS = 

BulkSMS BD info:
SMS_API_KEY = 
SENDER_ID = 

Cloudinary info:
CLOUD_NAME = 
CLOUD_API_KEY = 
CLOUD_API_SECRET =

to Use Mail service with Gmail, you have to go on Security > App passwords > select option and click generate in your Google account.

Note: Tohid Bin Azam Fb account you can knock me from here

5. In Root folder terminal past this final code

npm start

If everything is ok, Runs the app in the development mode. Automatically open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages