1
0
Fork
You've already forked library
0
Library catalogue via a web scraping API and svelte
  • PHP 73.9%
  • Svelte 20.2%
  • SCSS 4.1%
  • JavaScript 1.4%
  • Blade 0.4%
2025年09月25日 08:40:59 +01:00
app Remove Goutte as a dependency 2025年09月25日 08:40:28 +01:00
bootstrap Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
config Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
database Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
lang/en Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
public Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
resources Add a button to log out 2023年12月04日 10:42:41 +00:00
routes Add a button to log out 2023年12月04日 10:42:41 +00:00
storage Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
tests Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
.deploy-ignore Update request headers to prove I am not a robot 2025年04月07日 14:46:16 +01:00
.editorconfig Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
.env.example Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
.gitattributes Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
.gitignore Ignore node_modules 2022年08月16日 08:44:13 +01:00
.styleci.yml Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
artisan Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
composer.json Remove Goutte as a dependency 2025年09月25日 08:40:28 +01:00
composer.lock Remove Goutte as a dependency 2025年09月25日 08:40:28 +01:00
package-lock.json Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
package.json Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
phpunit.xml Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00
README.md Restore original README 2022年04月30日 18:27:50 +01:00
tailwind.config.js Configure tailwind to see the templates 2020年09月04日 16:02:19 +01:00
webpack.mix.js Overlay Library config on fresh laravel 9 App 2022年04月30日 17:36:53 +01:00

Library - A Laravel Project

The existing Library catalogue is a nice resource but is lacking with its interface. There are some annoying setting enabled which make it hard to navigate using a phone. This project is a learning exercise in web scraping, back end frameworks and front end SPAs.

Approach

Ideally there would be an API available that could facilitate requests to a Svelte instance on the front end. This being absent we are using the existing website to create an API based on laravel.

TODO

  • Create at least one end point to get data from
  • Initialise Svelte with laravel mix
  • Implement a search bar to recreate search from main site
  • Add an endpoint to get one specific book information (including availability)
  • Handle pagination

Eventually

  • Reserve books using a Library ID

Notes

We want to handle the login so that we can see things ahout our account like lists.

  • Save barcode to encrypted localstorage
  • Add a login form to the dashboard URL on front end
  • Handle login using the API to fetch data
  • Perform actions like saving to a list
  • If possible login on initial load (help power buttons in search result)

Pages

  • Dashboard with a series of links (fetch each tab and present in one page ?)
  • History page
  • List of saved items