-
Database Setup:
- Choose a database (MySQL).
- Normalize the database further to meet additional requirements.
-
API Implementation:
- Implement CRUD REST APIs for Users, Books, and Book Loans.
- Ensure proper authentication for the APIs.
-
Code Quality:
- Follow good code practices.
- Implement reusable patterns.
-
Deployment:
- Deploy the Laravel backend to a server of your choice.
-
Vue Project Setup:
- Create a Vue 3 project named "bookloan-frontend."
- Set up the project structure following best practices.
-
API Consumption:
- Consume the CRUD REST APIs from the Laravel backend in the Vue frontend.
-
Frontend Design:
- Design a user-friendly interface for user registration, book management, and book loans.
- Implement additional features like reports and graphs to showcase mastery of frontend design.
-
Code Quality:
- Follow good code practices.
- Ensure code is modular and reusable.
-
Deployment:
- Deploy the Vue frontend to a server of your choice.
-
Project Name:
- Both the backend and frontend projects should be named "BookLoan."
-
Version Control:
- Upload your code to the version control system of your choice (e.g., GitHub, GitLab).
-
Additional Information:
- Demonstrate skills in normalizing the database.
- Showcase additional features beyond the basic requirements.
-
Backend (Laravel 10 - BookLoan-Backend):
- Clone the repository.
- Install dependencies:
composer install. - Set up the database:
php artisan migrate. - Run the server:
php artisan serve. - seed database:
php artisan db:seed - Link storage:
php artisan storage:link - You can clear configurations and caches:
php artisan config:clear && php artisan cache:clear - running the backend in e.g a debian server in detached mode:
nohup php artisan serve --host=0.0.0.0 --port=9008 > laravel.log 2>&1 & - Run the cron/scheduler:
php artisan schedule:run >> /dev/null 2>&1
-
Frontend (Vue 3 - BookLoan-Frontend):
- Clone the repository.
- Install dependencies:
npm install. - Run the development server:
npm run serve.(development) - Build the assets in production (minify and optimize):
npm run buildthe load it on the server or run it as a seperate instance in the server.
-
Accessing the Application:
- Visit the provided URLs for the Laravel backend and Vue frontend.
-
Login Credentials (If Deployed):
- Share login credentials for admin and user roles.
-
Login Credentials:
-
Admin Email: admin@admin.com
-
Admin Password: admin
-
User Email: johndoe@gmail.com
-
User Password: pass
-
You can login as admin and create a user and test with that user to.
-