{"id":32563044,"url":"https://github.com/blevs/webdb-recitation-i","last_synced_at":"2026-01-20T17:55:46.048Z","repository":{"id":44074303,"uuid":"207413758","full_name":"Blevs/webdb-recitation-i","owner":"Blevs","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-11T01:44:35.000Z","size":344,"stargazers_count":0,"open_issues_count":10,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-03T18:39:14.091Z","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/Blevs.png","metadata":{"files":{"readme":"README.org","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}},"created_at":"2019-09-09T22:09:07.000Z","updated_at":"2019-09-09T22:53:33.000Z","dependencies_parsed_at":"2023-02-08T21:46:30.045Z","dependency_job_id":null,"html_url":"https://github.com/Blevs/webdb-recitation-i","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/Blevs/webdb-recitation-i","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blevs%2Fwebdb-recitation-i","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blevs%2Fwebdb-recitation-i/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blevs%2Fwebdb-recitation-i/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blevs%2Fwebdb-recitation-i/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Blevs","download_url":"https://codeload.github.com/Blevs/webdb-recitation-i/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blevs%2Fwebdb-recitation-i/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281549787,"owners_count":26520515,"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-29T02:00:06.901Z","response_time":59,"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":"2025-10-29T02:56:15.973Z","updated_at":"2025-10-29T02:56:35.204Z","avatar_url":"https://github.com/Blevs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"* WebDB Recitation I\n\n  I'm trying something new today. This is a project similar, but distinct from\n  the afternoon project. The goal is to cover much of the same ground, but in a\n  way that allows this to remain up for future cohorts to enjoy.\n\n** Queries\n   You can connect to a local sqlite database on the command line by running the\n   command ~sqlite3 dbName.sqlite3~. Navigate into the ~/data~ directory and open\n   the ~dev.sqlite3~ database this way. You can now run SQL queries against it.\n   (Don't forget to end your commands with a ~;~).\n   \n   You can exit by pressing ~CTRL-d~. View the tables and their schema with the\n   commands ~.tables~ and ~.schema tableName~.\n   \n*** Find all books with a ~publisher_id~ of 2\n*** Find the title, cover_url of the book with the id of 1\n*** Find the title and year of the oldest 3 books\n*** Find all reviews for books with id's 3, 4 and 5\n*** Add a review for book 1, from user 8 with a rating of 3 and a comment of 'Okay'\n*** Change your review to be a rating 5 of and a comment of 'Amazing Cover!''\n*** Find how many different years books were published in. How many books were published in each year?\n*** What is the average review of each book?\n*** Which book has the longest description?\n** API\n   Write CRUD endpoints for the reviews resource. Ideally, separate out your\n   database interactions into a 'model' file and import that into your 'router'\n   file.\n   \n   | field   | data type             | metadata                    |\n   | id      | unsigned int          | primary key, auto           |\n   | rating  | floating point number | 1-5, required               |\n   | book_id | unsigned int          | foreign key, 1-15, required |\n   | user_id | unsigned int          | foreign key, 1-6, required  |\n   | comment | string                | not required                |\n\n   \n   Handle query parameters to the ~GET /api/reviews~ endpoint that may contain\n   ~limit~, ~sortby~ and ~sortdir~.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblevs%2Fwebdb-recitation-i","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblevs%2Fwebdb-recitation-i","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblevs%2Fwebdb-recitation-i/lists"}