Skip to content

sunnycs121/grand-canyon

Repository files navigation

CRUD Assessment for GCE

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.

Technologies Used

  1. Laravel PHP framework version 10 (latest)
  2. Laravel Breeze
    1. 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.
  3. InertiaJS
    1. 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.
  4. Frontend in Vue JS

Steps to Test

  1. Clone repository

  2. cd into to directory /grand-canyon

  3. Run migrations php artisan migrate

    • This will create laravel default DB changes and new custom table gce_users
  4. Run application by php artisan serve

  5. Go to the url at which application is being served, we will call it for now [BASE_URL], go to http://[BASE_URL]

    1. you should see Laravel welcome page with links to Login or Register on top right as shown below

    2. Screenshot at Feb 21 22-19-47
  6. Create a new account by clicking on register

    1. Screenshot at Feb 21 22-22-02
  7. List of Users

    1. System should take you to page [BASE_URL]/dashboard where users will be displayed in a table format
    2. Screenshot at Feb 21 22-23-37
  8. Create new user

    1. To create a new user, click on button Create New GCE User
    2. image
    3. Create user form displayed below with employee_id validation error displayed
    4. image
  9. After creating new user, system will take you back to dashboard page

  10. Edit User

    1. To edit any user, click on corresponding Edit link for that user
    2. image
  11. Delete User

    1. To delete a user, click on corresponding delete button
    2. image

About

CRUD API endpoints using Laravel 10

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published