- clone this repository
- install the packages.
composer install
,npm install
- import the database
- copy the
.env.example
file into the.env
file and set up your database name (DB_DATABASE=
) and credentials - run the
php artisan key:generate
command to make the cryptography key for the app - build the assets with the
npm run build
terminal command - create the database with the
php artisan migrate
command. - create an administrative user
php artisan make:filament-user
. After creating, you will have to change the user'srole
in the database fromuser
toadmin
. - you can also use the applications web interface to sign up, it's the same result and you still will have to change the
type of the first user manually. After setting up the first user manually, you can
visit
<web_address_of_app>/admin
to add new users or manage existing ones.
Access the admin panel at <web_address_of_app>/admin
- you can manage the users of the application (2 / d)
- you can upload navigation items, which are stored inside the database. Please use full URL's, route parsing from databas links is not supported. This is why they are only visible on the home page. (2 / b)
- use the
Restful postman.json
file provided in the repository, to test thepastry
API resource. (4)
- visiting the homepage (
<web_address_of_app>/login
) will reveal the company introduction page (1) - clicking the Laravel logo on the navigation bar will take you to the login page (you can also
use
<web_address_of_app>/login
and<web_address_of_app>/register
) - after signing up and logging in, you will be greeted with a chart ob the user level dashboard, which shows the distribution of users and administrators in the system using chart.js (7)
- also on this dashboard, you can search the pastries stored in the database. The search is based on a javascript class (6, 3)