New functionality was added to the application
Now you may show, add, edit and delete books
-
Books part
- Start the application
php artisan serve - Access your list of books
127.0.0.1:8000/books - You may create a book by submitting "Create a book" button (this book will appear in the books list)
- Then you may edit and delete the book you want
- Start the application
-
User part
- Start the application
php artisan serve - Access the user form
127.0.0.1:8000/form - Register the user
- Display all users
127.0.0.1:8000/users
- Start the application
-
User part
- app/Http/Controllers/UserControllers
- UserFormController - perform operations with the user form
- UserInfoController - display users info
- UserFormController - perform operations with the user form
- Views:
- layouts:
- base
- partials: header, footer
- user:
- form
- users_table
- layouts:
- app/Http/Controllers/UserControllers
-
Books part
- app/Http/Controllers/BookControllers
- BookController - the base logic of the book part
- app/Http/Models/Books
- Author - responsible for the authors table in the database
- Book - responsible for the books table in the database
- Genre - responsible for the genres table in the database
- Views:
- layouts:
- base
- partials: header, footer
- books:
- create_book (a page where you add the book)
- edit_book (a page where you edit the book)
- get_books_list (a page where you display your books)
- layouts:
- app/Http/Controllers/BookControllers