{"id":23842041,"url":"https://github.com/drivly/edge-api","last_synced_at":"2025-02-22T05:22:46.124Z","repository":{"id":173611698,"uuid":"650952846","full_name":"drivly/edge-api","owner":"drivly","description":"Simplified Edge API Router with JWT Auth, Logging, and Database","archived":false,"fork":false,"pushed_at":"2024-05-14T17:55:05.000Z","size":358,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T15:16:55.955Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drivly.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":"2023-06-08T07:03:50.000Z","updated_at":"2024-05-14T17:55:08.000Z","dependencies_parsed_at":"2023-10-03T12:59:58.617Z","dependency_job_id":null,"html_url":"https://github.com/drivly/edge-api","commit_stats":null,"previous_names":["nathanclevenger/edge-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drivly%2Fedge-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drivly%2Fedge-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drivly%2Fedge-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drivly%2Fedge-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drivly","download_url":"https://codeload.github.com/drivly/edge-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240129378,"owners_count":19752342,"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":"2025-01-02T18:35:54.560Z","updated_at":"2025-02-22T05:22:46.096Z","avatar_url":"https://github.com/drivly.png","language":"JavaScript","readme":"# edge-api\n\n  \u003c!-- Version - npm --\u003e\n  \u003ca href=\"https://www.npmjs.com/package/edge-api\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/edge-api.svg\" alt=\"Latest version on npm\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- Downloads - npm --\u003e\n  \u003ca href=\"https://npm-stat.com/charts.html?package=edge-api\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dt/edge-api.svg\" alt=\"Downloads on npm\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- License - MIT --\u003e\n  \u003ca href=\"https://github.com/nathanclevenger/edge-api/tree/master/license\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/nathanclevenger/edge-api.svg\" alt=\"Project license\" /\u003e\n  \u003c/a\u003e\n\nSimplified Edge API Router with JWT Auth, Logging, and Database.  \n\n```javascript\nimport { API, error } from 'edge-api'\n\nconst api = API()\n\napi\n  // .all('*', withUser, withDB({ database: 'API' }))\n  .get('/', () =\u003e ({ hello: 'api' }))\n  .get('/:resource', ({ resource }) =\u003e ({ resource }))\n  .get('/:resource/:id+', ({ resource, id }) =\u003e ({ resource, id }))\n  .all('*', () =\u003e error(404))\n\nexport default api\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrivly%2Fedge-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrivly%2Fedge-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrivly%2Fedge-api/lists"}