Skip to content

sahooankeeta/social-media-web-app

Repository files navigation

Instagram-clone

Login Page

Front End

  • HTML
  • CSS
  • JavaScript

Back End

  • Express
  • MongoDb
  • Nodemailer
  • Sockets.io

Intallation-Developement

Clone

Clone this repo to your local machine using https://github.com/sahooankeeta/social-media-web-app

Setup

  • Redirect into Instagram-clone folder using
    $cd Instagram-clone
  • Install npm dependencies using $ npm install in the current directory
  • Create a .env file in the current directory with these data
    NODE_ENV=development
    PORT=8000
    USERNAME=//your name
    DATABASE=//your mongoDb database url

    PASSWORD=//your mongoDb password
    EMAIL_USERNAME
    EMAIL_PASSWORD
    JWT_SECRET
    JWT_EXPIRES_IN=100d
    JWT_COOKIE_EXPIRES_IN=90
    RESET_PASSWORD_KEY
  • To run the application use
    $ npm run start