Giter Site home page Giter Site logo

laravel-apirest-googlemap's Introduction

Latest Stable Version License

Instructions:

  • Clone the repo and cd into it
  • Composer install
  • Rename or copy .env.example file to .env
  • Run php artisan key:generate
  • Set your database credentials in your .env file
  • Add the ApiKey of GoggleMaps in the file googlemaps.php
  • Run in tinker the commands:
  1. factory(App\User::class,10)->create()
  2. factory(App\Map::class,10)->create()
  • Run the server
  • Create a user
  • Test in Postman (or you preference) the routes in order:

1.http://127.0.0.1:8000/api/login/
2.http://127.0.0.1:8000/api/home
(In the header use Authorization Bearer ggtxo75aDwt6RMt0cwlNGiqgu4N5vlv0NumRf2QNwds0vnivKZ7WaPWEe1mU)
3.http://127.0.0.1:8000/api/home/1
(In the header use Authorization Bearer ggtxo75aDwt6RMt0cwlNGiqgu4N5vlv0NumRf2QNwds0vnivKZ7WaPWEe1mU)
4.http://127.0.0.1:8000/api/logout/

Instrucciones:

  • Clona el repositorio y entra en él.
  • Instala el composer
  • Renombra o copia el archivo .env.example a .env
  • Ejecuta php artisan key:generate
  • Establezca sus credenciales de base de datos en su archivo .env
  • Agregar la ApiKey de GoggleMaps en el archivo googlemaps.php
  • Ejecutar en tinker los comandos:
  1. factory(App\User::class,10)->create()
  2. factory(App\Map::class,10)->create()

Instruções:

  • Clone o repositório e fazer cd no.
  • Instale o compositor
  • Renomeie ou copie o arquivo .env.example para arquivo .env
  • Execute o comando php artisan key: generate
  • Defina suas credenciais de banco de dados em seu arquivo .env
  • Adicione o ApiKey do GoggleMaps no arquivo googlemaps.php
  • Execute os comandos no tinker:
  1. factory(App\User::class,10)->create()
  2. factory(App\Map::class,10)->create()

laravel-apirest-googlemap's People

Contributors

jackomo007 avatar

Stargazers

 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.