/points-realtime

Real time markers

Primary LanguageHTML

Real time map with leaflet, node js and socket.io

Just a fun map to play around with real-time markers.

Requirements

  • Node js
  • PostgreSQL

Installation

Clone the repository on your local machine.

Use the package manager npm to install the dependencies.

npm install 

Run these PostgreSQL queries:

CREATE DATABASE points;
CREATE TABLE points (
    lat real,
    lng real
);

Run this command

npm start

Go to http://localhost:3000/ on your browser and we're good to go!