Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic functionality for minimum viable product #1

Open
nickcreel opened this issue Dec 30, 2021 · 0 comments
Open

Basic functionality for minimum viable product #1

nickcreel opened this issue Dec 30, 2021 · 0 comments
Assignees
Labels
mvp minimum viable product

Comments

@nickcreel
Copy link
Owner

  • Search
    • Minimally need to allow users to search by keyword, category, year, and brand. this is what most people want in a quick search
    • What is the Lolibrary search API?
      • API endpoint POST https://lolibrary.org/api/search?page=1
      • Pass refinements as JSON payload
{"search":"nakayoshi bunny",
"categories":["accessories"],
"brands":["alice-and-the-pirates"],
"features":["adjustable-straps"],
"tags":["abstract-decorative"],
"colors":["beige"],
"years":[2022],
"category_matcher":"OR","brand_matcher":"OR","feature_matcher":"OR","tag_matcher":"OR","color_matcher":"OR","year_matcher":"OR",
"page":1}

Example response

{"current_page":1,
"data":[{"slug":"ap-bear-toy-plush-pouch","english_name":"BEAR TOY Plush Pouch","foreign_name":"BEAR TOY\u306c\u3044\u3050\u308b\u307f\u30dd\u30fc\u30c1","product_number":"212BG11-180218","notes":"<div>[Material]<br>Outer material: Faux fur (80% acrylic, 20% polyester)<br>Separate material: Polka dot broadcloth (100% cotton)<br>&nbsp;<br><br><\/div><div>[Remarks]<br>\u2606 A different material is used for the inner bag.<br>\u2606 Satin ribbon is used.<br><br><\/div>","created_at":"2021-12-30T20:33:07+00:00","updated_at":"2021-12-30T20:33:55+00:00","published_at":"2021-12-30T20:33:55+00:00","image":"https:\/\/lolibrary.global.ssl.fastly.net\/images\/fqfZss7CXtDlRGM9WKaKldurxLaGbfyioPtkWQUo.jpeg","internal_notes":null,"price_details":{"currency":"jpy","price":11800,"local_price":"11800","formatted":"\u00a511,800.00"},"url":"https:\/\/lolibrary.org\/items\/ap-bear-toy-plush-pouch","edit_url":"\/library\/resources\/items\/69f22837-0386-4b23-97b9-6266745434a8\/edit","submitter":{"username":"sucre-dolls","created_at":"2015-01-30T12:40:45+00:00","level":100},"brand":{"slug":"angelic-pretty","name":"Angelic Pretty","short_name":"ap","image":"https:\/\/lolibrary.global.ssl.fastly.net\/https:\/\/lolibrary.global.ssl.fastly.net\/https:\/\/lolibrary.global.ssl.fastly.net\/https:\/\/lolibrary.global.ssl.fastly.net\/https:\/\/lolibrary.global.ssl.fastly.net\/https:\/\/lolibrary.global.ssl.fastly.net\/https:\/\/lolibrary.global.ssl.fastly.net\/https:\/\/lolibrary.global.ssl.fastly.net\/brands\/angelic-pretty.png","url":"https:\/\/lolibrary.org\/brands\/angelic-pretty"},"categories":[{"slug":"bags","name":"Bags","url":"https:\/\/lolibrary.org\/categories\/bags"}],"tags":[{"slug":"faux-fur","name":"Fabric: Faux Fur","url":"https:\/\/lolibrary.org\/tags\/faux-fur"},{"slug":"bears","name":"Bears","url":"https:\/\/lolibrary.org\/tags\/bears"},{"slug":"toys","name":"Toys","url":"https:\/\/lolibrary.org\/tags\/toys"}]}],
"first_page_url":"https:\/\/lolibrary.org\/api\/search?page=1",
"from":1,
"last_page":2977,
"last_page_url":"https:\/\/lolibrary.org\/api\/search?page=2977",
"next_page_url":"https:\/\/lolibrary.org\/api\/search?page=2",
"path":"https:\/\/lolibrary.org\/api\/search",
"per_page":24,
"prev_page_url":null,
"to":24,
"total":71429}
  • Add to local collection/wishlist (not connected to lolibrary account, store in a local DB)
    • Realm ? persistent on device but that's about it
    • would something like postgres work?
  • Share
    • give user the link to the item on the lolibrary site to share
    • hold to open in browser or to share? options for each result

Views:

  • Search
  • Wishlist
  • Result detail page

Components:

  • Search result
    • Image
    • title
    • short description
    • options
      • modal?
  • Search bar
  • Search refinements
    • Drop down
    • Fetch categories?
  • List of search results
  • Detail page
    • Image
    • title
    • full description
    • share button
  • Wishlist
    • Could use a more lightweight version of the search results list and individual resuts component to avoid repetition.
@nickcreel nickcreel added the mvp minimum viable product label Dec 30, 2021
@nickcreel nickcreel self-assigned this Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mvp minimum viable product
Projects
None yet
Development

No branches or pull requests

1 participant