najibu / no_agent_api_test

No agent api test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NO AGENT API TEST

Installation

git clone
composer install
touch database/database.sqlite
cp .env.example .env
php artisan migrate
php artisan serve

API Endpoints

GET            /api/v1/properties                 List all properties
GET            /api/v1/properties/{id}            Retrieve a specific property
POST           /api/v1/properties                 Add a property, requiring only the address # body {
    "address_1": "65 Leonard St",
    "address_2": "",
    "city": "London",
    "postcode": "EC2A 4QS"
}

Thank you for checking out no agent api

About

No agent api test


Languages

Language:PHP 96.2%Language:HTML 3.1%Language:Vue 0.6%