Skip to content

chaitanya005/instagram_clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Clone

A Simple Instagram Page made with MERN stack

Open here

https://instaclone05.herokuapp.com/signin

Installation

# Installation for Server

  npm init 	 	//install package.json() file
  npm install experss	//install node_modules

# Installation for client
Introducing React in Client	

npx-create-react-app dirname

# nodmeon installation

npm install nodemon

Create DataBase in MongoDB

Atlas Cluster Link is below

Create an API in SendGrid

Verify a user in Settings<Sender Authentication

Usage

Create a dev.js file in config folder with these MONGOURI JWT_SECRET SENDGRID_API EMAIL\

module.exports = {		
	MONGOURI : 			
	JWT_SECRET  : 		
	SENDGRID_API :		
	EMAIL : 			
}			
  • You should change the value of MOGOURI with your MONGODB connection Link in <config/dev.js file
  • You should change the value of JWT_SECRET with your SOMETHING in <config/dev.js file
  • You should change the value of SENDGRID_API with the API you created in SendGrid
  • You should change the value of EMAIL with the LOCALHOST and after deploying change this with the deployment LINK

Proxy

Add this in client package.json file

Our server sending request in port 5000 but our client is running on port 3000 .So,we added proxy in package.json so that it will sends internal request to 5000 and pretending like both are running on the same PORT

{ "proxy": "http://localhost:5000", }

To Run

Run both client and Server

npm run dev

Run the server

nodemon appname

Run the client

npm start

# Server runs on http://localhost:5000 and client on http://localhost:3000

CSS

In this project I used materialize css for icons and for other stylings Link is here https://materializecss.com/

Support and 🌟 the project

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors