Skip to content

Demo Location Sharing Application for SUTD IAP 2021 Introduction to Real Time Web Applications

Notifications You must be signed in to change notification settings

realtime-apps-iap/location-sharing-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Location Sharing Application 📍

Demo Screenshot

About

A location-sharing application that allows users to create and join rooms where they can share their live locations.

The application is built to demonstrate the following:

  • The Browser Geolocation API to retrieve the user device's current location
  • leaflet.js on the client-side to display maps and markers
  • The WebSockets protocol, the browser WebSockets API and the node.js WebSockets library for real-time communication

Features

  • Rooms where users can share their location information
  • Creating / Joining rooms
  • Shareable room passphrases
  • Live updates of user locations

Deployment

A Heroku account and the Heroku CLI is needed to deploy this application to Heroku. Docker is also required.

Log in to container registry

$ heroku container:login

If you want to create a new Heroku app to deploy to, navigate to the app’s directory and create a Heroku app:

$ heroku create

Alternatively, if there is already a Heroku app you want to add this to, add the remote to the repository:

$ heroku git:remote -a your-app-name

Build the image and push to Container Registry:

$ heroku container:push web

Then release the image to your app:

$ heroku container:release web

IAP notes on deployment to Heroku

Article on deploying docker images to Heroku

About

Demo Location Sharing Application for SUTD IAP 2021 Introduction to Real Time Web Applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published