Skip to content

theneelshah/sastagram

Repository files navigation

Sastagram (Instagram clone):

Features Provided:

  • Authentication using JWT - Suggested Tutorial
  • Profile Page
  • See Profiles
  • Explore Posts
  • Add Post
  • Update Profile Picture

Upcoming Features:

  • Follow / unfollow
  • Like / unline
  • Home page (showing the posts of followed users)
  • Private / public account

To Install to your local environment:

Step 1: Initial Setup

$ cd <project-destination>
$ git clone https://github.com/theneelshah/sastagram.git

Step 2: Setting up environment variables Create a .env file in the home directory with the following variables:

  1. MONGOURI=<_Your mongodb database uri>
  2. JWT*SECRET=<_Random string used to encrypt your JWT token for authentication. Ex: MY_SECRET_AND_ENCRYPTED_STRING*>
  3. JWT*EXPIRES_IN=<_Time after your token expires. Ex: 2d *>
  4. NODE_ENV=<*development / production*>

Step 3: Installing dependencies

$ npm install
$ cd client
$ npm install

Step 4: You're ready to go! (Make sure nodemon is installed globally / on your project)

$ npm start
$ cd client
$ npm start

Client runs on port 3000 & server on port 4546

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published