Skip to content

iamshiv007/omegle-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omegle-clone-react Live

Note:- Open this application in two browsers (for exa- Chrome and edge) to test and give me feedback 📧softdev.shivraj@gmail.com or you can fix the issue, i am open to merge your contribute.

Table of contents

  1. Tech Stack
  2. Demo
  3. How to start

1. Tech Stack 🛠

  1. ReactJS as frontend
  2. NodeJS as backend
  3. Socket.io as bi-directional communication

2. Demo 🎢

demo gif demo image

3. How to start 👨‍💻

1. Prerequisites:

These prerequisites are essential for a smooth setup and understanding of the project.

2. backend setup

  1. clone backend repository
git clone https://github.com/iamshiv007/omegle-backend.git
  1. jump in to project
cd omegle-backend
  1. install packages
npm install
  1. Enviroment variables
    • create a .env file
    • set the variables
PORT="8080"
FRONTEND_URL="http://localhost:3000"
  1. start server
node app.js

OR (if you have nodemon installed)

nodemon app.js

now you would get this output in terminal

Server run on port http://localhost:8080

3. frontend setup

  1. clone frontend repository
git clone https://github.com/iamshiv007/omegle-clone.git
  1. again jump in to project
cd omegle-clone
  1. install packages
npm install
  1. set enviroment variables
    • create .env.local file
    • and put the anviroment variables
      REACT_APP_BASE_URL=http://localhost:8080
  2. start project
    npm start

🎉 Now you ready to explore, create and contribute.🤝

🌟 Give a star if you find this project helpful.⭐️

🌟Thank You for visiting my project😀🙏⭐️