Overview
This project is created to learn and practice inertia, as well as to explore the power of INERTIA. It consists of a dashboard and frontend with lots of functionalities. The project is also integrated with Spatie Laravel permissions and Nprogress.
Features
- Inertia: The project makes use of Inertia, a modern approach to building single-page applications using classic server-side routing and controllers.
- DaisyUI: DaisyUI is used for the frontend design of the project, providing a set of utility classes for rapid UI development.
- Spatie Laravel Permission: This integration allows for easy management of user permissions and roles within the project.
Installation
To try out this project on your localhost, follow these steps:
- Clone the repository.
- Run
composer installto install the required dependencies. - Create a
.envfile. - Generate an application key by running
php artisan key:generate. - Run
npm installto install the JavaScript dependencies. - Run
npm run devto compile the assets. - Run the database migrations by executing
php artisan migrate. - Seed the database with initial data by running the seeders:
php artisan db:seed. - Run the project on your localhost.
- Use the following credentials to log in:
- Admin: username - super_admin@example.com, password - password
- Moderator: username - moderator@example.com, password - password
- User: username - user@example.com, password - password
Summary
This project is a demonstration and exploration of inertia, showcasing its power to build single-page applications with server-side routing and controllers. It includes a dashboard and frontend with various functionalities, along with integration with Spatie Laravel permissions and the use of DaisyUI for frontend design. The installation process is straightforward, allowing users to quickly set up the project and test it with pre-configured user credentials.