Instaclone backend is built with Express + MongoDB. If you looking for the frontend repo, click here
At the root of the project, you should have a .env with the following contents
JWT_SECRET=<yoursupersecret> JWT_EXPIRE=30d // or anything you prefer MONGOURI=<your_mongodb_connection_uri>
npm i && npm run dev to start the development server
Deploying the backend to heroku
First create an heroku account and install the heroku cli globally and login
npm i -g heroku heroku login
Once logged in, create a new heroku application and push it to the remote 'heroku'
heroku create git push heroku master
Then we need to manually setup the environmental variables using the heroku dashboard
How it looks
I also built a twitter clone using Prisma + GraphQL. You can take a look, if you interested.