Giter VIP home page Giter VIP logo

api_cuba's Introduction

Image

API_CUBA

API desarrollada con Laravel PHP para brindar servicios REST para multiples plataformas sobre información politico administrativa de API_CUBA

Features

  • Realizar busquedas por provincias, municipios
  • Listar provincias con sus municipios

Future Features

  • Listado de Codigos postales de Cuba
  • Listados de consejos populares y mas

Documentation

Documentation

Autor

Instalación

  git clone https://github.com/lucasgio/api_cuba.git
  cd api_cuba
  composer install 
  cp env.example .env
Crear una db en su cofiguración de mysql


DB_DATABASE=nombredeldb
DB_USERNAME=usuariomysql
DB_PASSWORD=passwordmysql
php artisan migrate --seed
php artisan config:clear
php artisan optimize

php artisan test
php artisan serve

API EndPoints

GET

Se obtiene todas las provincias

  GET /api/v1/provincies
Parameter Type Description
page int Optional

GET

Se obtiene todos los municipios

  GET /api/v1/municipalities
Parameter Type Description
page int Optional

GET

Se obtiene todos los barrios o consejos populares (SOONNN)

  GET /api/v1/neighborhoods
Parameter Type Description
page int Optional

License

MIT

Tech Stack

Back-End: Laravel, PHP

api_cuba's People

Contributors

lucasgio avatar ovillafuerte94 avatar

Stargazers

Manuel Ernesto Garcia avatar Nelson R. Graña avatar Royler Marichal Carrazana avatar Reinier Hernández avatar  avatar  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.