TheBookshelf is a web platform that connects readers with real libraries, making it easier to access books and promoting reading in our society. It allows users to search and check the availability of books in real libraries, see if a book is reserved by someone else, create an account, and become a member without having to visit the library in person.
- Main Features
- Technologies Used
- Video youtube
- Redirect to thebookshelf
- Case Diagram
- Diagram Phase
- Installation and Configuration
- Unit Tests
- Check the availability of books in real libraries.
- Create an account and become a member without visiting the library.
- Interact with a community of readers.
- Laravel
- MySQL
- HEROKU
- CSS
- Tailwind
- Alpine.js
- Livewire
- Google API (for book search and retrieval)
-
THE BOOKSHELF - DB STRUCTURE ,file
database.sql
in the folder database.
- Clone the repository on your local machine:
- Enter the project directory and install the dependencies with Composer:
cd thebookshelf
composer install
- Copy the
.env.example
file to.env
and configure the necessary environment variables:
cp .env.example .env
- Generate the application key:
php artisan key:generate
-
Configure your database and add the credentials in the
.env
file. -
Run migrations and seeders to populate the database:
php artisan migrate --seed
- Start the local development server:
php artisan serve
To run the unit tests, run the following command:
php artisan test
The unit tests I have are:
- /ApiBookControllerTest.php
- /BookControllerTest.php
- /BooksSeederTest.php