GithubHelp home page GithubHelp logo

location's Introduction

Location API

Build Status Latest Stable Version License

Info

Sometimes your transactional logistics or geo applications need to consume coordinates, geocodes, addresses, countries or all other kinds of geo information to use in workloads or business intelligence panels without dependence on an external API, also with flexible methods to retrieve a full dataset of information or internal codifications from your own domain.

Furthermore, many high availability projects need to have important services or APIs inside your own infrastructure to minimize the risk of unavailable services.

The main purpose of this project is to create a reliable and flexible API to provide localization information to use in future geocoding capabilities of any software. Some operations from this API can be attached directly to DataAnalytics tools like Microsoft PowerBI and Tableau or Google DataStudio.

Instructions

First of all, you have to put your docker container to work properly. Run the following instructions as described:

Start and Build an image of the container:

# cd docker 
# docker-compose up --build

With you container working properly, run the follow commands inside the locationphp container.

# php artisan migrate:install 
# php artisan migrate
# php artisan db:seed

Operations

  • postcode
  • countries
  • citiesPerCountry
  • coordinatesPostcodeList

Documentation

To access the documentation page, when your container is working, just follow the link http://localhost:8080/api/documentation

alt text

⚠️ Tips

  • When you start your container for the first time, you have to wait a composer to finish the package installation, before using and run commands in your container. When the initialization is complete you will see the follow message in supervisor logs or docker-composer verbose return:

    NOTICE: fpm is running, pid 1
    NOTICE: ready to handle connections

    After that, you can easily run the commands to seed the database or use the application

Usefull Commands

Stop Docker

# docker-compose stop

Shell access for you docker container:

# docker-compose exec locationphp sh

location's People

Contributors

jorgelustosa 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.