Working as part of a team of 6 developers, using mobbing and pair programming we were tasked to build a Book Swap API that connects to the front end website we previously built that manages a communal bookshelf.
This API was built to the following document specification https://github.com/iO-Academy/book-swap-api-docs/blob/main/README.md. All routes were thoroughly tested using route tests to ensure project future maintainabilty.
On the website the users can:
- See all the books that are available for borrowing
- Claim a book, so that they can later grab it from the actual shelf
- See all the books that are currently “claimed“
- Return” a book, to signify that they have put it back on the shelf
- Review a book
- Add a new book to the system, if a new book has been added to the shelf search and filter books
- Kellie Marsh - @ Kel-E-Creator
- Henry Meager - @henrymeager
- Andrei Trifu - @andrei-trifu
- Timothy Williamson - @GDTimi
- Siphosenkosi Ndlouv - @Sipho-Ndlovu
- Sophie Preston - @W1z4rdK1tty
- Make sure Docker is running
- clone the repo into your chosen folder
- cd into your chosen folder
- Run artisan composer install
- Open the project in VSC
- Duplicate the .env.example file
- Rename copied file to .env
- Amend DB_HOST/DB_DATABASE/DB_USERNAME/DB_PASSWORD
- Run PHP artisan key:generate
- Create a new MySQL database with the same name you listed in DB_DATABASE
- Run artisan migrate
- Run php artisan serve --host=0.0.0.0.