Skip to content

nekoding/mapbox-nats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Demo

Ekperimen integrasi mapbox dengan NATs

Referensi: https://www.youtube.com/watch?v=As5FojxWViI

Techstack

  • Mapbox
  • Nats
  • Vite
  • React

How to run

  1. Install NATS cli and NATS server
  2. Clone this repo
git clone https://github.com/nekoding/mapbox-nats.git
  1. Install dependency using bun / npm / pnpm
bun install
  1. Run Nats Server
nats-server -c nats.conf
  1. Change MAPBOX API Key in App.jsx

  2. Run web app

bun run dev
  1. Setup jetstream (optional)
nats s add [name] --no-deny-purge --allow-rollup
# Make sure the subject name is set to `maps.*` so jetstream can catch all subject from map

About

Experiment mapbox interactive using NATS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages