NOTE: In assessment description DB table name was said to be users
but Laravel by default comes with a users
table which have some extra fields not part of this assessment so I just created a new DB table by the name of gce_users
.
- Laravel PHP framework version 10 (latest)
- Laravel Breeze
- Laravel Breeze is a minimal, simple implementation of all of Laravel's authentication features, including login, registration, password reset, email verification, and password confirmation. In addition, Breeze includes a simple "profile" page where the user may update their name, email address, and password.
- InertiaJS
- Inertia allows you to create fully client-side rendered, single-page apps, without the complexity that comes with modern SPAs. It does this by leveraging existing server-side patterns that you already love.
- Frontend in Vue JS
-
Clone repository
-
cd into to directory
/grand-canyon
-
Run migrations
php artisan migrate
- This will create laravel default DB changes and new custom table
gce_users
- This will create laravel default DB changes and new custom table
-
Run application by
php artisan serve
-
Go to the url at which application is being served, we will call it for now [BASE_URL], go to http://[BASE_URL]
-
Create a new account by clicking on register
-
After creating new user, system will take you back to dashboard page