An interactive web application featuring a 3D globe that visualizes button clicks from around the world in real-time.
- Real-time 3D globe visualization using Globe.gl
- Live updates using Socket.io
- Modern, responsive UI with Tailwind CSS
- MongoDB for data persistence
- Express.js backend
-
Frontend:
- React
- Globe.gl
- Tailwind CSS
- Socket.io-client
-
Backend:
- Node.js
- Express
- Socket.io
- MongoDB
- Node.js (v14 or higher)
- MongoDB
- npm or yarn
-
Clone the repository
-
Install dependencies:
# Install backend dependencies cd backend npm install # Install frontend dependencies cd ../frontend npm install
-
Create a
.envfile in the backend directory with:MONGODB_URI=your_mongodb_uri PORT=5000 -
Start the development servers:
# Start backend server cd backend npm run dev # Start frontend server cd frontend npm run dev
-
Open http://localhost:5173 in your browser
global-clicker/
├── frontend/ # React frontend application
│ ├── src/
│ ├── public/
│ └── package.json
├── backend/ # Node.js backend application
│ ├── src/
│ ├── config/
│ └── package.json
└── README.md