GithubHelp home page GithubHelp logo

alexgignac / amazon-location-service-geotrack-vuejs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aws-samples/amazon-location-service-geotrack-vuejs

0.0 0.0 0.0 1.23 MB

License: MIT No Attribution

JavaScript 38.07% HTML 1.24% Vue 58.89% Sass 0.67% Shell 1.13%

amazon-location-service-geotrack-vuejs's Introduction

Amazon Location Service GeoTrack Vue.js

Location data is a vital ingredient in today's applications, enabling capabilities ranging from asset tracking to location-based marketing.

With Amazon Location Service, you can easily add capabilities such as maps, points of interest, geocoding, routing, geofences, and tracking to applications. You retain control of your location data with Amazon Location, so you can combine proprietary data with data from the service. Amazon Location provides cost-effective location-based services (LBS) using high-quality data from global, trusted providers Esri and HERE Technologies.

This repo contains a Vue.js application that displays the users last positions reported in the past 15min in a map, leveraging Amplify for authentication. In the Amplify build process, there is automation that automattically creates the Amazon Location Services' resources and associate a policy to Amazon Cognito role for accessing them.

Architecture Overview

Stack

  • Front-end - Vue.js as the core framework, Quasar for UI, MapLibre for map visualiztion, AWS Amplify for Auth UI component and AWS integration.
  • Data - User data is saved in Amazon DynamoDB via GraphQL using AWS AppSync. Devices GPS positions are stored in Amazon Location Service Tracker.
  • Auth - Amazon Cognito provides JSON Web Tokens (JWT) and along with AppSync fine-grained authorization on what data types users can access.
  • IoT - AWS IoT with topics and rules integrated with an AWS Lambda.

User Interface

Testing the solution

If you clone this repo, at the root directory you can use the sendTrackingRecords.sh script to sends 4 location data points using the current time from NY Central Park to the Amazon Location Service Tracker. The only parameter that you need to provide is the deviceId.

./sendTrackingRecords.sh 1111111
Updating Device 1111111 at LGN -73.9687025 LAT 40.7812239 at 2021-05-12T16:30:04Z

Deployment

To deploy this solution into your AWS Account please follow our Deployment Guide

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

amazon-location-service-geotrack-vuejs's People

Contributors

amazon-auto avatar arturlr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.