A single page app with ArcGIS map using MEAN stack in a fullstack hackathon,its orignal requirements are here
- The pins are lazy loaded, only the pins that belong to the visible area of map are loaded.
- If any pin changes (a user made change to his post or deleted it), The change should be visible real time to other users.
- Strongloop(based on node.js and express.js), a REST API framework with micro service infrastructure
- Mongodb, a schema-free NoSQL database
- Socket.io, real-time bidirectional event-based communication
- Angular 2, One front-end framework for Mobile & desktop.
- Docker, transition to DevOps
- install node.js(^v6.10.1),mongodb(^2.6.10), and mongodb is running at localhost:27017
npm install -g @angular/[email protected]git clone https://github.com/haxejs/donorbloodcd donorblood/Codenpm install- apply a patch by
cp patches/FireLoop.js node_modules/@mean-expert/loopback-component-realtime/dist/modules/FireLoop.js cd clientthen runnpm install && ng build --env=democd .., start the server bynpm start- In browser, open http://localhost:3000/, you should can view a map
