{"id":18614889,"url":"https://github.com/andrewjbateman/node-koa-data","last_synced_at":"2026-04-29T21:31:24.811Z","repository":{"id":96860774,"uuid":"486117973","full_name":"AndrewJBateman/node-koa-data","owner":"AndrewJBateman","description":":clipboard: Node.js used with Koa instead of Express middleware, with embedded javascript (EJS) \u0026 Bootstrap to display oil well data","archived":false,"fork":false,"pushed_at":"2022-12-14T17:57:28.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-02T11:07:01.510Z","etag":null,"topics":["bootstrap","bootstrap5","ejs-templates","javascript","koa","koa-bodyparser","koa-json","koa-router","nodejs"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/AndrewJBateman.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":"2022-04-27T08:57:26.000Z","updated_at":"2022-04-30T15:55:18.000Z","dependencies_parsed_at":"2023-03-30T11:35:46.487Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/node-koa-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/node-koa-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnode-koa-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnode-koa-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnode-koa-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnode-koa-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/node-koa-data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnode-koa-data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32444934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bootstrap","bootstrap5","ejs-templates","javascript","koa","koa-bodyparser","koa-json","koa-router","nodejs"],"created_at":"2024-11-07T03:27:20.123Z","updated_at":"2026-04-29T21:31:24.796Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Node Koa Data\n\n* Node.js used with Koa instead of Express middleware, with embedded javascript (EJS) \u0026 Bootstrap to display oil well data\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/node-koa-data?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/node-koa-data?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/node-koa-data?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/node-koa-data?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Node Koa Data](#zap-node-koa-data)\n  * [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal_strength: Technologies](#signal_strength-technologies)\n  * [:floppy_disk: Setup](#floppy_disk-setup)\n  * [:wrench: Testing](#wrench-testing)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status, Testing \u0026 To-Do List](#clipboard-status-testing--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* Koa middleware used to add routing, body-parser, JSON and EJS HTML views\n* Simple Bootstrap navbar\n* An oil well name can be added to the list - this is not stored in a database and will be lost when app is shut down.\n\n## :camera: Screenshots\n\n![Image](./img/list.png)\n\n## :signal_strength: Technologies\n\n* [Node.js v16](https://nodejs.org/) Javascript runtime using the [Chrome V8 engine](https://v8.dev/)\n* [koa v2](https://www.npmjs.com/package/koa) HTTP middleware alternative to Express.js\n* [koa-ejs v4](https://www.npmjs.com/package/koa-ejs) embedded Javascript\n* [Bootstrap v5](https://getbootstrap.com) responsive navbar and styling\n\n## :floppy_disk: Setup\n\n* `npm i` to install dependencies\n* `npm run dev` runs app in the development mode with auto-restart.\n* Open [http://localhost:5000](http://localhost:5000) to view in the browser.\n\n## :wrench: Testing\n\n* N/A\n\n## :computer: Code Examples\n\n* `index.js` asynchronous function to render the index page in the browser root using Koa middleware\n\n```javascript\nrouter.get(\"/\", async (ctx) =\u003e {\n  await ctx.render(\"index\", {\n    title: \"Underground Injection Control Wells\",\n    wells: wells,\n  });\n});\n```\n\n## :cool: Features\n\n* Uses Koa which is much lighter than the usual Express middleware\n\n## :clipboard: Status, Testing \u0026 To-Do List\n\n* Status: Working\n* To-Do: Add well update and delete + database connection \u0026 other db fields such as location of well etc.\n\n## :clap: Inspiration\n\n* [Oklahoma Oil Well Data](https://oklahoma.gov/occ/divisions/oil-gas/oil-gas-data.html)\n* [esparkinfo.com/blog: Express vs Koa: Which Node.js Framework Is Best For You?](https://www.esparkinfo.com/blog/express-vs-koa.html)\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnode-koa-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fnode-koa-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnode-koa-data/lists"}