{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"e8410c91-d19e-48d2-915d-e458c1db78b2","name":"Laravel JSON:API","description":"# About\nLaravel JSON:API is backend product built by [Creative Tim](https://www.creative-tim.com/) and [UPDIVISION](https://updivision.com/).\nTo find out more about the project visit our [product page](https://www.creative-tim.com/product/vue-material-dashboard-laravel-pro).\n\n# JSON:API\nJSON:API is a specification for how a client should request that resources be fetched or modified, and how a server should respond to those requests. \nIt is designed to minimize both the number of requests and the amount of data transmitted between clients and servers. This efficiency is achieved without compromising readability, flexibility, or discoverability.\n\n# Prerequisites\n\nThe Laravel JSON:API backend project requires a working Apache/Nginx local environment with PHP, Composer and MySQL.\n\nIf you don't already have a local development environment, use one of the following links:\n- Windows: [How to install WAMP on Windows](https://updivision.com/blog/post/beginner-s-guide-to-setting-up-your-local-development-environment-on-windows)\n- Linux: [How to install LAMP on Linux](https://howtoubuntu.org/how-to-install-lamp-on-ubuntu)\n- Mac: [How to install MAMP on MAC](https://wpshout.com/quick-guides/how-to-install-mamp-on-your-mac/)\n- Install Composer: [https://getcomposer.org/doc/00-intro.md](https://getcomposer.org/doc/00-intro.md)\n\nInstall Composer: https://getcomposer.org/doc/00-intro.md\n\n# Download\nFor the free version of the project you can either\n- download the .zip file from the Creative Tim site and extract it or\n- make a clone from the Github repository\nFor the PRO version you will download the .zip file after you purchase the product on the [Creative Tim](https://www.creative-tim.com/) website.\n\nUnzip the archie and you will get two project folders: one for the Laravel API project and one for the Vue frontend.\n\n# Installation\n1. Navigate in your Laravel API project folder: `cd your-laravel-json-api-project`\n2. Install project dependencies: `composer install`\n3. Create a new .env file: `cp .env.example .env`\n3. Add your own database credentials in the .env file in DB_DATABASE, DB_USERNAME, DB_PASSWORD\n5. Create users table: `php artisan migrate --seed`\n6. Generate application key: `php artisan key:generate`\n7. Install Laravel Passport: `php artisan passport:install`\n8. Add your own mailtrap.io credentials in MAIL_USERNAME and MAIL_PASSWORD in the .env file\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":true,"owner":"8138626","team":1072355,"collectionId":"e8410c91-d19e-48d2-915d-e458c1db78b2","publishedId":"T1DiFzku","public":true,"publicUrl":"https://documenter-api.postman.tech/view/8138626/T1DiFzku","privateUrl":"https://go.postman.co/documentation/8138626-e8410c91-d19e-48d2-915d-e458c1db78b2","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2020-07-16T12:11:05.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"Laravel JSON:API","id":"184d48a0-8733-4e61-bbfb-cbb79bf91c75","owner":"8138626","values":[{"key":"api_url","value":"https://laravel-json-api-pro.creative-tim.com/api/v1","enabled":true},{"key":"access_token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIyIiwianRpIjoiNjNmZjk2ODUxMGE2YzQ1MjJlYWNlMTUyN2I5YzE4Y2RiYWUwMjY5MmVjOGFkMjM2YWE5ZWFhMjcwYjVlODYzMzZjY2ViODI1NmRjZmNiOTgiLCJpYXQiOjE1ODY5NTYzODksIm5iZiI6MTU4Njk1NjM4OSwiZXhwIjoxNjE4NDkyMzg5LCJzdWIiOiIxIiwic2NvcGVzIjpbXX0.Wg6y5GlkOzzeotv0sKIz2qGitNo5C4Niky3bzfIYa6amg0LabM8EHt7pZAklE-eJa0b4UY0-vag1WQuQJFDmoMzEMQfZcIZoTdty5-sGVvzy81RZfnN__i7Bd7VSDFevFHJRvvSn3QG-0woqBTFxd14Hwj6GjwWiDtnJtOtrQ3ylFvQ98zOz0LxcnU3FKALXx8loTO_ttIUcLZffHGmD6TsxAH0v70QSnDNVtcYmY30j7TCjcltuAVaeq3ZFcLQ2R4tvpAfPr-CFjvhWp59JS9qM_wgOA-WNlYIB5buxWEMDDcgK3q2sWgCzNGmEgtpa-EU3WLn-ifzOOh7XrBXpJXdNyQo7mYNzjU6jDnER-ksQ3V8DcpYf0oC2nrfrsOdfr02F1FboSRhuuSGa-yZE-t4urkgp5GkRNSyDde-cVyLwvo_PMnFC_zcANbO5C2K2Kb6WHv4y7zk8aqNmT3eAQMdZK5jMCf3nryjF5X-bTxZRRCmEOBcUG23AZap9UP6Rduwq2sUFqFT9BIJaBTQPkpHAFdbyusZntrKS1C8AKNgvdqM5NVzeZrEyPDJRkVsG7_yb8u53Ad6jEyhOWGte4vqACbDgAdMp2qQbQN9Rk0LjgjIvrFMg2nkivyT_HPq0VFIzz8bzuvCxkPcJS9eNF6ZqnigiVIKreAuCT3XC7yg","enabled":true}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/39bd3dcbbe44bf8c7fda793478dd2d9236e7615e29f445f074160f47e9ca5f85","favicon":"https://res.cloudinary.com/postman/image/upload/v1590740088/team/tnan1jtzzxwehb0zwnru.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Laravel JSON:API","value":"8138626-184d48a0-8733-4e61-bbfb-cbb79bf91c75"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/T1DiFzku"}