{"id":20533815,"url":"https://github.com/ctrachte/book-tracker","last_synced_at":"2025-03-06T03:14:08.330Z","repository":{"id":143801891,"uuid":"157452899","full_name":"ctrachte/Book-Tracker","owner":"ctrachte","description":"A basic react app to track books being read, future reads, and past reads.","archived":false,"fork":false,"pushed_at":"2018-11-14T15:22:54.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-16T13:20:54.740Z","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/ctrachte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2018-11-13T22:00:41.000Z","updated_at":"2018-11-14T15:22:55.000Z","dependencies_parsed_at":"2023-12-02T23:31:04.928Z","dependency_job_id":null,"html_url":"https://github.com/ctrachte/Book-Tracker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrachte%2FBook-Tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrachte%2FBook-Tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrachte%2FBook-Tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrachte%2FBook-Tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctrachte","download_url":"https://codeload.github.com/ctrachte/Book-Tracker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242138885,"owners_count":20078006,"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","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-16T00:23:54.461Z","updated_at":"2025-03-06T03:14:08.303Z","avatar_url":"https://github.com/ctrachte.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Book Tracker Project\n\nThis is the final assessment project for Udacity's React Fundamentals course. The goal of this project is to create a simple\nreact application to track books that a user is reading, has read, or is going to read. The app uses a built-in API to simulate API calls to a books database API.\n\n## Getting Started\n\nTo run this app and start developing right away:\n\n* in your terminal use the command `git clone https://github.com/ctrachte/Book-Tracker.git`\n* in the directory you cloned to, install all project dependencies with `npm install`\n* start the development server with `npm start`\n\n## Backend Server/API\n\n**All credit goes to Udacity for the below API and API documentation**\n\nThe provided file [`BooksAPI.js`](src/BooksAPI.js) contains the methods used 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.\n\n## Create React App\n\nThis project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app). You can find more information on how to perform common tasks [here](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md).\n\n## Contributing\n\nThis repository is not likely to be actively managed, so please be patient with pull requests!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctrachte%2Fbook-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctrachte%2Fbook-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctrachte%2Fbook-tracker/lists"}