Giter Club home page Giter Club logo

geo-app's Introduction

Introduction 💬

Geo-App is the platform that help user can track their pickup location and tracking the path.

Features

  • Authentication with Amplify (signup, signin and signout)
  • Integrated Mapbox as Map provider
  • Highighted pickup location (draw a polygon by lines)
  • Tracking path between 2 locations (destination is fixed now)

Configuration

Setup mapbox

  • Mapbox original guides
  • Integrate secret key for your location machine
  • Create .env file at project path by using structure at .env.example

Setup Amplify

User guide

Screenshot 2023-04-02 at 00 40 34

Project architecture

Screenshot 2023-04-02 at 01 20 44

  • UIs: Widgets and Pages folder contains reusable UI element.
  • Controller: Will be handled business logic. Controller's responsibilities are receiving data from UI, validate and send to repo, also receiving data from repo then send to UIs.
  • Repo: Responsible are receiving data from controller, send to data layer (local storage, server, cloud, etc) and clean data before send it back to controller if repo receives data from data layer.
  • Model: Responsible to converting from json to class instancee that can help develop more efficient.

Design pattern used

Dependecy Injection

  • Explanation: Each controller will be put in binding through dependencies function. Every time, you need controller to handle data just injecting the binding that put controller through AppPage. Then using Get.find() to get the controller instance
  • Advantage: If there are more one places need using controller, just need inject its instance not create a new one.

Factory

  • Use to create data models

Folder overview

Screenshot 2023-04-02 at 00 56 51

Dependencies

Thanks to:

geo-app's People

Contributors

taitrien avatar

Stargazers

Huỳnh Gia Bôi avatar

Watchers

 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.