Skip to content

Instagram clone made with MongoDB, Express, React and NodeJS.

License

Notifications You must be signed in to change notification settings

raspacee/instagram-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instagram clone

Technologies used - MongoDB, Express, React and NodeJS.

How to start backend

  1. cd into the directory and run npm install to install the required dependencies.
  2. Create a .env file in the root directory and set two environment variables: set MONGODB_URL as your MongoDB database URL and set JWT_SECRET as any random token.
  3. Run npm run dev to start a dev server or npm run start to start a production server.
  4. You can also set PORT in the .env file otherwise the server will use port 3000.

How to start frontend

  1. cd into the directory and run yarn install to install the required dependencies.
  2. Create a .env file in the root directory and set two environment variables: set VITE_COOKIES_NAME as any string and set VITE_API_URL as the URL that the backend is running on.
  3. Run yarn dev to start a dev server.

About

Instagram clone made with MongoDB, Express, React and NodeJS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages