LWG Meeting Notes 11 09 2017: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
(Created page with "Discussion items: - User flow of app, API calls we want to make to database (what to expect to get back) - Current app: can paginate through books, which requests next bat...")
 
No edit summary
Line 1: Line 1:
Discussion items:
=== Discussion items ===
- User flow of app, API calls we want to make to database (what to expect to get back)
* User flow of app, API calls we want to make to database (what to expect to get back)
    - Current app: can paginate through books, which requests next batch of books on each page.  
** Current app: can paginate through books, which requests next batch of books on each page.  
    - About 1000 books in the library right now, probably. We could request all books and let client side filter, but that’s maybe too much. Django has pagination (specify limit and offset).  
** About 1000 books in the library right now, probably. We could request all books and let client side filter, but that’s maybe too much. Django has pagination (specify limit and offset).  
    - Do we want to have a splash page instead of just the list of books right away?
** Do we want to have a splash page instead of just the list of books right away?
- Current app: first step to add a book is to input OLID, do we still want to do it that way? Yes, though maybe have radio button to choose between OLID and ISBN later on.
* Current app: first step to add a book is to input OLID, do we still want to do it that way? Yes, though maybe have radio button to choose between OLID and ISBN later on.


Action items:
=== Action items ===
- Move repositories to Noisebridge Github (Done!)
* Move repositories to Noisebridge Github (Done!)
- Get REST API serving json so we can see test data
* Get REST API serving JSON so we can see test data
- Get OLID list from Flask app, rescrape it into Django data model
* Get OLID list from Flask app, rescrape it into Django data model
- Get books available to API so React can display
* Get books available to API so React can display
- Get React to POST to Django to add books
* Get React to POST to Django to add books
- Look into Django REST framework filtering for sorting by title or author alphabetically or by subject
* Look into Django REST framework filtering for sorting by title or author alphabetically or by subject
- Work on new book form  
* Work on new book form  
  - Also edit form? Right now anyone can change book location.  
** Also edit form? Right now anyone can change book location.  
  - Restrict editing and adding books via IP address to people in the space?
** Restrict editing and adding books via IP address to people in the space?


Open Library API endpoints and things:
=== Relevant links ===
http://openlibrary.org/api/books?bibkeys=OLID:OL24654162M&jscmd=details&format=json <- this one is the most complete and is probably best to use
http://openlibrary.org/api/books?bibkeys=OLID:OL24654162M&jscmd=details&format=json <- this one is the most complete and is probably best to use



Revision as of 01:15, 10 November 2017

Discussion items

  • User flow of app, API calls we want to make to database (what to expect to get back)
    • Current app: can paginate through books, which requests next batch of books on each page.
    • About 1000 books in the library right now, probably. We could request all books and let client side filter, but that’s maybe too much. Django has pagination (specify limit and offset).
    • Do we want to have a splash page instead of just the list of books right away?
  • Current app: first step to add a book is to input OLID, do we still want to do it that way? Yes, though maybe have radio button to choose between OLID and ISBN later on.

Action items

  • Move repositories to Noisebridge Github (Done!)
  • Get REST API serving JSON so we can see test data
  • Get OLID list from Flask app, rescrape it into Django data model
  • Get books available to API so React can display
  • Get React to POST to Django to add books
  • Look into Django REST framework filtering for sorting by title or author alphabetically or by subject
  • Work on new book form
    • Also edit form? Right now anyone can change book location.
    • Restrict editing and adding books via IP address to people in the space?

Relevant links

http://openlibrary.org/api/books?bibkeys=OLID:OL24654162M&jscmd=details&format=json <- this one is the most complete and is probably best to use

https://openlibrary.org/books/OL24654162M.json <- this one looks like just the details section of the other one

https://openlibrary.org/developers/api <- all their apis

https://openlibrary.org/dev/docs/api/books <- books api

https://noisebridge.net/wiki/LWG_Meeting_Notes_2017_05_11 some old notes


Next meeting is on Thursday, December 7th, at 8pm.