A Simple Instagram Page made with MERN stack
https://instaclone05.herokuapp.com/signin
# 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
Here's the Link https://app.sendgrid.com/login?redirect_to=%2Fsettings%2Fsender_auth%2Fsenders%2Fnew
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
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", }
npm run dev
nodemon appname
npm start
# Server runs on http://localhost:5000 and client on http://localhost:3000
In this project I used materialize css for icons and for other stylings Link is here https://materializecss.com/