All Projects → viettranx → Tracking Location Socketio

viettranx / Tracking Location Socketio

Demo Broadcast/Tracking location with SocketIO (like Uber/Grab) for Web/Mobile Apps

Programming Languages

swift
15916 projects
kotlin
9241 projects

Projects that are alternatives of or similar to Tracking Location Socketio

Jsexpert02 Skeleton Ew
Projeto Base da Semana Javascript Expert 2.0
Stars: ✭ 363 (+143.62%)
Mutual labels:  socketio
Notes App
Node.js application - simple notes management using Express, Postgres, Objection.js, Docker, Socket.io, Bluebird Promises
Stars: ✭ 14 (-90.6%)
Mutual labels:  socketio
Chatroom Angularjs
An online chat room built with Angular, Node.js, Express and socket.io. View more http://www.cnblogs.com/SheilaSun/p/4746837.html
Stars: ✭ 76 (-48.99%)
Mutual labels:  socketio
Meantorrent
meanTorrent - MEAN.JS BitTorrent Private Tracker - Full-Stack JavaScript Using MongoDB, Express, AngularJS, and Node.js, A BitTorrent Private Tracker CMS with Multilingual, and IRC announce support, CloudFlare support. Demo at:
Stars: ✭ 438 (+193.96%)
Mutual labels:  socketio
Thatconf2015pong
Slides and sample project code (pong) for my talk at That Conference 2015
Stars: ✭ 5 (-96.64%)
Mutual labels:  socketio
Realtimeboard
🙌 Collaborative Whiteboard (Socket.IO + Vanilla JS Frontend)
Stars: ✭ 30 (-79.87%)
Mutual labels:  socketio
Docker Chat Demo
Companion repo for my "Lessons from Building a Node App in Docker" article.
Stars: ✭ 320 (+114.77%)
Mutual labels:  socketio
React Socket Io
A react provider for socket.io, http://socket.io/
Stars: ✭ 111 (-25.5%)
Mutual labels:  socketio
Vue Chat
👥Vue全家桶+Socket.io+Express/Koa2打造一个智能聊天室。
Stars: ✭ 887 (+495.3%)
Mutual labels:  socketio
Chatroom Vue
一个简单的多人聊天室。基于vue和node+Socket.IO
Stars: ✭ 71 (-52.35%)
Mutual labels:  socketio
Socketio Client Ue4
socket.io client plugin for Unreal Engine 4
Stars: ✭ 451 (+202.68%)
Mutual labels:  socketio
Never Blink
👀Blink and lose.
Stars: ✭ 802 (+438.26%)
Mutual labels:  socketio
Mean Angular4 Chat App
MEAN stack with Angular 4 Chat App
Stars: ✭ 41 (-72.48%)
Mutual labels:  socketio
Go Socket.io
A Socket.IO backend implementation written in Go
Stars: ✭ 409 (+174.5%)
Mutual labels:  socketio
Aaronvandenberg.nl
⚛️ Web Developers portfolio build with Gatsby.js & React.js
Stars: ✭ 98 (-34.23%)
Mutual labels:  socketio
Socket.io Client Swift
socket.io-client for Swift
Stars: ✭ 352 (+136.24%)
Mutual labels:  socketio
Socketio Spring Boot Starter
Spring Boot Starter For Netty-socketio
Stars: ✭ 28 (-81.21%)
Mutual labels:  socketio
Ember Socket Guru
Addon for easy integration with Pusher.js, ActionCable, Socket.io and Phoenix Channels
Stars: ✭ 119 (-20.13%)
Mutual labels:  socketio
Chatroom
vue2聊天室,图灵机器人,node爬虫
Stars: ✭ 103 (-30.87%)
Mutual labels:  socketio
Socket.io Python Emitter
Python implementation of socket.io-emitter
Stars: ✭ 67 (-55.03%)
Mutual labels:  socketio

tracking-location-socketio

This project helps us show a demo app view all vehicles are moving on the maps. It's useful to make a prototype app like Uber/Grab.

It's not real tracking GPS. I use GPX files exported from Google Direction service to make a fake tracking engine and socketIO to emit data to the clients. Hope you enjoy it :D

Live Demo for Website

On React Native: iOS & Android

Installation

You must have node installed: Install NodeJS.

Clone repository and change directory to it

git clone https://github.com/viettranx/tracking-location-socketio.git 
cd tracking-location-socketio/server

Install nodemon

npm install -g nodemon

Install all dependencies needed

npm install

Run the server

This project needs nodemon to run and watch file changes. The command is:

nodemon Server.js

In case we need to run it as background service. Install forever and run:

npm install -g forever
forever start -c nodemon Server.js

Open your favorite browser and go to:

http://localhost:4333/

Configruation

You can find default config in nodemon.json. That's just simple:

{
  "env" : {
    "RUN_MODE"    : "dev",
    "PORT"        : 4333
  }
}

Since the nodemon service could not watch itself config, you need to restart it.

Want to add more route

This project uses GPX format to emit location info to the clients. Just place any file GPX to gpx folder to add more. To create a GPX file, you can use Google Maps Direction service and export it with a shorten URL:

Then paste the URL to https://mapstogpx.com/pokemon.php to generate GPX file

Run React Native

You need react-native installed: React Native

Follow these steps to run the project:

cd client/react-native
npm install
react-native link
react-native run-android

As on iOS

cd client/react-native/ios
pod install
cd ..
react-native run-ios

Please note that socket.io in App.js points to localhost:4333. Modify it in case you need to change your server URL.

const socketURL = 'http://localhost:4333'

Run iOS Swift

cd client/native-ios-swift/DemoTrackingLocation
pod install

open DemoTrackingLocation.xcworkspace

Run Android Kotlin

Open client/native-android-kotlin with your Android Studio (>= v.3). Hit Run button and choose your simulator.

To Do

  • [X] Parse XML content from GPX file.
  • [X] Use SocketIO to emit to client
  • [X] Client demo with website.
  • [X] Client demo with React Native.
  • [X] Client demo with iOS Native: Swift
  • [X] Client demo with Android Native: Kotlin

License

Feel free to use and pull request to contribute it as you want.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].