JSVillage / SwarmTech

Realtime coordination demo for disaster response teams.
MIT License
1 stars 5 forks source link

Create prototype #1

Closed bitmage closed 6 years ago

bitmage commented 6 years ago

Goals: Functional demo with simple as possible tech stack. No build pipeline or compiled languages. The swarm.js paradigm will already have a learning curve, so try to reduce distractions.

Browser: vue.js, leaflet.js, openstreetmaps, swarm.js Server: Node.js, express, swarm.js, mongodb

bitmage commented 6 years ago

Have the basic layout that I'd like to demo with for the command center app. Still need to add in swarm.js syncing. The examples on the swarm readme aren't working for me, so I'm reading through the code for the 'mice' demo on https://github.com/swarmjs/swarm-example. I'll try to get something similar working for the map.

bitmage commented 6 years ago

Map now displays a blue pin at the center by default. You can pop open the console and change the pin's location with this code:

app.data.pins["ash"].set({x: 33.58, y: -112.07})
bitmage commented 6 years ago

Marking this task as done.