Laravel Headless CMS follows the JSON:API standard for building APIs in JSON. JSON: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. It`s specifically designed to increase efficiency by keeping the number of requests and the amount of data transmitted between clients and servers to a minimum.
Download the .zip file from the Creative Tim site and extract it.
JSON: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. It 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.
Click here to go to the JSON:API docs
The Laravel JSON:API backend project requires a proper multi-threaded web server such as Apache/Nginx environment with PHP, Composer and MySQL.
Do not use php artisan serve
as it will result in stalled requests due to the single-threaded nature of the built-in PHP web server.
We strongly recommend using Laradock for Linux and Mac or Laragon for Windows if possible.
Other options for your local environment:
- Windows: How to install WAMP on Windows
- Linux: How to install LAMP on Linux
- Mac: How to install MAMP on MAC
You will also need to install Composer 2: https://getcomposer.org/doc/00-intro.md
- Navigate in your Laravel API project folder:
cd your-laravel-json-api-project
- Install project dependencies:
composer install
- Create a new .env file:
cp .env.example .env
- Add your own database credentials in the .env file in DB_DATABASE, DB_USERNAME, DB_PASSWORD
- Create users table:
php artisan migrate --seed
- Generate application key:
php artisan key:generate
- Install Laravel Passport:
php artisan passport:install
- Add your own mailtrap.io credentials in MAIL_USERNAME and MAIL_PASSWORD in the .env file
You can register as a user or log in using one of the default users:
- admin type - admin@jsonapi.com with the password secret
- creator type - creator@jsonapi.com with the password secret
- member type - member@jsonapi.com with the password secret
A member type user can log in, update his profile and view a list of added items.
A creator type user can log in, update his profile and perform actions on categories, tags and items.
A admin type user can log in, update his profile and perform actions on categories, tags, items, roles and users.
Headless CMS with Laravel JSON:API PRO provides basic CRUD endpoints for the most commonly used functionalities in any CMS.
- Authentication API: login, logout, register, send reset password email & reset password
- Profile API: get profile, update profile
- Users API: list, create, update and delete users, upload profile image
- Roles API: list, create, edit and remove roles
- Permissions API: list available permissions
- Tags API: list, create, update and delete tags
- Categories API: list, create, update and delete categories
- Items API: list, create, update, delete items & upload item image
- Versions
- Documentation
- Dashboards built with Headless CMS with Laravel JSON:API PRO
- Resources
- Reporting Issues
- Licensing
- Useful Links
The documentation for the Headless CMS with Laravel JSON:API PRO is hosted at our here.
- Download Page: https://www.creative-tim.com/product/headless-cms-with-laravel-json-api-pro
- Documentation: https://explore.postman.com/api/6357/laravel-jsonapi
- License Agreement: https://www.creative-tim.com/license
- Support: https://www.creative-tim.com/contact-us
- Issues: Github Issues Page
Vue Argon Dashboard Laravel | Vue Material Dashboard Laravel |
---|---|
Vue Black Dashboard Laravel | Vue White Dashboard Laravel |
---|---|
Vue Paper Dashboard Laravel | Vue Now UI Dashboard Laravel |
---|---|
Nuxt Argon Dashboard Laravel |
---|
Please see the changelog for more information on what has changed recently.
We use GitHub Issues as the official bug tracker for the Headless CMS with Laravel JSON:API PRO. Here are some advices for our users that want to report an issue:
- Make sure that you are using the latest version of the Headless CMS with Laravel JSON:API PRO. Check the CHANGELOG from your dashboard on our website.
- Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed.
- Some issues may be browser specific, so specifying in what browser you encountered the issue might help.
- Copyright Creative Tim (https://www.creative-tim.com/?ref=hclja-readme)
- Creative Tim License (https://www.creative-tim.com/license).
- Tutorials
- Affiliate Program (earn money)
- Blog Creative Tim
- Free Products from Creative Tim
- Premium Products from Creative Tim
- React Products from Creative Tim
- Angular Products from Creative Tim
- VueJS Products from Creative Tim
- More products from Creative Tim
- Check our Bundles here
Twitter: https://twitter.com/CreativeTim?ref=hclja-readme
Facebook: https://www.facebook.com/CreativeTim?ref=hclja-readme
Dribbble: https://dribbble.com/creativetim?ref=hclja-readme
Instagram: https://www.instagram.com/CreativeTimOfficial?ref=hclja-readme
Twitter: https://twitter.com/updivision?ref=hclja-readme
Facebook: https://www.facebook.com/updivision?ref=hclja-readme
Linkedin: https://www.linkedin.com/company/updivision?ref=hclja-readme
Updivision Blog: https://updivision.com/blog/?ref=hclja-readme