{"id":19747393,"url":"https://github.com/maryehb/udacity-myreads-react-web-app","last_synced_at":"2025-10-06T19:02:47.083Z","repository":{"id":168792409,"uuid":"395283070","full_name":"MaryEhb/Udacity-myReads-react-web-app","owner":"MaryEhb","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-12T10:40:56.000Z","size":330,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T08:00:17.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaryEhb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-12T10:38:08.000Z","updated_at":"2021-08-12T10:40:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"aed1eb80-8c7c-4dee-8bcc-d85b8d0d7300","html_url":"https://github.com/MaryEhb/Udacity-myReads-react-web-app","commit_stats":null,"previous_names":["maryehb/udacity-myreads-react-web-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MaryEhb/Udacity-myReads-react-web-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaryEhb%2FUdacity-myReads-react-web-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaryEhb%2FUdacity-myReads-react-web-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaryEhb%2FUdacity-myReads-react-web-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaryEhb%2FUdacity-myReads-react-web-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaryEhb","download_url":"https://codeload.github.com/MaryEhb/Udacity-myReads-react-web-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaryEhb%2FUdacity-myReads-react-web-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278663356,"owners_count":26024388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T02:17:40.523Z","updated_at":"2025-10-06T19:02:47.078Z","avatar_url":"https://github.com/MaryEhb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyReads Project For Udacity Nanodegree\n\nThis is a single page web application that allow the user to search in udacity database for different books and place it on her/his shelves (currently reading - read - want to read)\n\n## Requirements\n\n- Node.js on the user's device\n\n## How to Run The Appication\n\nIn the command line: browse to the folder and run `npm install`.Once it is installed run `npm start` and the application will open in the default browser on local host 3000\n\n## Backend Server\n\nTo simplify your development process, we've provided a backend server for you to develop against. The provided file [`BooksAPI.js`](src/BooksAPI.js) contains the methods you will need to perform necessary operations on the backend:\n\n* [`getAll`](#getall)\n* [`update`](#update)\n* [`search`](#search)\n\n### `getAll`\n\nMethod Signature:\n\n```js\ngetAll()\n```\n\n* Returns a Promise which resolves to a JSON object containing a collection of book objects.\n* This collection represents the books currently in the bookshelves in your app.\n\n### `update`\n\nMethod Signature:\n\n```js\nupdate(book, shelf)\n```\n\n* book: `\u003cObject\u003e` containing at minimum an `id` attribute\n* shelf: `\u003cString\u003e` contains one of [\"wantToRead\", \"currentlyReading\", \"read\"]  \n* Returns a Promise which resolves to a JSON object containing the response data of the POST request\n\n### `search`\n\nMethod Signature:\n\n```js\nsearch(query)\n```\n\n* query: `\u003cString\u003e`\n* Returns a Promise which resolves to a JSON object containing a collection of a maximum of 20 book objects.\n* These books do not know which shelf they are on. They are raw results only. You'll need to make sure that books have the correct state while on the search page.\n\n### Important\nThe backend API uses a fixed set of cached search results and is limited to a particular set of search terms, which can be found in [SEARCH_TERMS.md](SEARCH_TERMS.md). That list of terms are the _only_ terms that will work with the backend, so don't be surprised if your searches for Basket Weaving or Bubble Wrap don't come back with any results.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaryehb%2Fudacity-myreads-react-web-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaryehb%2Fudacity-myreads-react-web-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaryehb%2Fudacity-myreads-react-web-app/lists"}