{"id":25934105,"url":"https://github.com/ekaone/knex-db","last_synced_at":"2026-04-20T04:02:32.771Z","repository":{"id":118052456,"uuid":"335855923","full_name":"ekaone/knex-db","owner":"ekaone","description":"🔼⛔ Knexjs database hooks","archived":false,"fork":false,"pushed_at":"2021-02-04T06:10:04.000Z","size":97,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-06T03:57:55.927Z","etag":null,"topics":["database","knexjs","nextjs"],"latest_commit_sha":null,"homepage":"","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/ekaone.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-02-04T06:08:22.000Z","updated_at":"2021-02-04T07:18:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc03b82b-f69c-4e99-a8f2-6c6ec2135248","html_url":"https://github.com/ekaone/knex-db","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ekaone/knex-db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaone%2Fknex-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaone%2Fknex-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaone%2Fknex-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaone%2Fknex-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekaone","download_url":"https://codeload.github.com/ekaone/knex-db/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekaone%2Fknex-db/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32032302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["database","knexjs","nextjs"],"created_at":"2025-03-04T00:56:57.777Z","updated_at":"2026-04-20T04:02:32.765Z","avatar_url":"https://github.com/ekaone.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Hooks Database Demo\n\nVideo: https://youtu.be/QABkof8ygzI\n\nFetch your props directly from the Database?!?! Adam Wathan showed a simple example of loading props directly from the database: https://twitter.com/adamwathan/status/1246144545361997829\n\nIn this video we'll explore this hook, along with two others for building static pages. Next.js 9.3 came out with 3 new hooks that allow you to fetch data in different ways:\n\n- getServerSideProps: Fetch data server side\n- getStaticPaths: Fetch data to generate static pages\n- getStaticProps: Fetch data to build a static page\n\n## Links\n\n- Source code: https://github.com/leighhalliday/nextjs-hooks-database\n- Deployed app: https://next-hooks-database.now.sh/\n- Full Stack Radio episode about Next.js: http://www.fullstackradio.com/137\n- Release notes for Next.js 9.3: https://nextjs.org/blog/next-9-3\n- Learn JavaScript, React \u0026 more with Treehouse (affiliate link): https://treehouse.7eer.net/c/1214671/228915/3944\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekaone%2Fknex-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekaone%2Fknex-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekaone%2Fknex-db/lists"}