Skip to content

john-fletcher/global-clicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Global Clicker

An interactive web application featuring a 3D globe that visualizes button clicks from around the world in real-time.

Features

  • 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

Tech Stack

  • Frontend:

    • React
    • Globe.gl
    • Tailwind CSS
    • Socket.io-client
  • Backend:

    • Node.js
    • Express
    • Socket.io
    • MongoDB

Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB
  • npm or yarn

Installation

  1. Clone the repository

  2. Install dependencies:

    # Install backend dependencies
    cd backend
    npm install
    
    # Install frontend dependencies
    cd ../frontend
    npm install
  3. Create a .env file in the backend directory with:

    MONGODB_URI=your_mongodb_uri
    PORT=5000
    
  4. Start the development servers:

    # Start backend server
    cd backend
    npm run dev
    
    # Start frontend server
    cd frontend
    npm run dev
  5. Open http://localhost:5173 in your browser

Project Structure

global-clicker/
├── frontend/           # React frontend application
│   ├── src/
│   ├── public/
│   └── package.json
├── backend/           # Node.js backend application
│   ├── src/
│   ├── config/
│   └── package.json
└── README.md

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages