2017 © Pedro Peláez
 

project cars

Test for Megakit.pro

image

suval/cars

Test for Megakit.pro

  • Thursday, October 19, 2017
  • by suval
  • Repository
  • 0 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

From GitHub:, (*1)

git clone https://github.com/vsudeikin/cars.git

From composer:, (*2)

composer create-project suval/cars:dev-master project_name

After installation: 1) create DB "cars" 2) .env: - DB_DATABASE=cars - DB_USERNAME=your's db user name - DB_PASSWORD=your's db password 3) On poject folder: php artisan migrate --seed 4) Register new user. http://project.name/register 5) Get your api_token. http://project.name/home (autoload), (*3)

REST API: Car fields: [ id, models, year, color, owner_id, created_at, updated_at] Owners fields: [id, name, created_at, updated_at], (*4)

You can use: CURL, POSTMAN etc. to make CRUD operations (must use api_token). Targets here: http://your.project/api/car http://your.project/api/owner CRUD request methods: CREATE: POST /api/... READ: GET /api/.../{id} UPDATE: PUT /api/.../{id} DELETE: DELETE /api/.../{id}, (*5)

The Versions

19/10 2017

dev-master

9999999-dev

Test for Megakit.pro

  Sources   Download

MIT

The Requires

 

The Development Requires

19/10 2017

dev-rest_api

dev-rest_api

Test for Megakiy.pro

  Sources   Download

proprietary

The Requires

 

The Development Requires