{"id":32119671,"url":"https://github.com/felipetesc/expressa-lib","last_synced_at":"2026-05-16T17:31:02.345Z","repository":{"id":62421423,"uuid":"464257210","full_name":"felipetesc/expressa-lib","owner":"felipetesc","description":"Library to create fast deno web app prototypes","archived":false,"fork":false,"pushed_at":"2023-04-16T20:11:04.000Z","size":275,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T18:33:52.238Z","etag":null,"topics":["backend","deno","prototype","server","unstable","web"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/felipetesc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-02-27T21:24:37.000Z","updated_at":"2022-04-22T16:28:04.000Z","dependencies_parsed_at":"2025-10-20T18:24:38.748Z","dependency_job_id":"ddbabae7-fe95-4205-b8fe-fd8ee2be30b4","html_url":"https://github.com/felipetesc/expressa-lib","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/felipetesc/expressa-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipetesc%2Fexpressa-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipetesc%2Fexpressa-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipetesc%2Fexpressa-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipetesc%2Fexpressa-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipetesc","download_url":"https://codeload.github.com/felipetesc/expressa-lib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipetesc%2Fexpressa-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33111571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["backend","deno","prototype","server","unstable","web"],"created_at":"2025-10-20T18:06:44.624Z","updated_at":"2026-05-16T17:31:02.340Z","avatar_url":"https://github.com/felipetesc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Expressa\n\n\n\nTo use this micro lib you can import from github, like so:\n\nInstallation:\n```typescript\n  import { Handler, AppContext, AppConfigs, Expressa } from \"https://raw.githubusercontent.com/felipetesc/expressa-lib/v0.0.5/mod.ts\";\n```\n\n## Quick start:\n\nFirst import the lib like we showed above, than create a new handler, such as:\n\n```typescript\n\nclass SayGoodbyeHandler extends Handler{\n    handler(request: Request): Response {\n      let body = \"Goodbye\";\n      return new Response(body, { status: 200 });\n    }\n}\n```\n\nThe request parameter will give You access to everything needed. You should always return a new response.\n\nCreate a new conf class\n\n```typescript\n\nlet confs = new AppConfigs();\nconfs.port = 3000;\n\n```\n\nAfter that (read the comments below):\n\n\n```typescript\n//create a new AppContext\nconst appCtx = new AppContext();\n\n//add to the app context a new route to your handler\nappCtx.appendRouteHandler(\"/goodbye\", new SayGoodbyeHandler());\n\n//Run your application\nExpressa.run(AppConfigs.APP_PORT, appCtx);\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipetesc%2Fexpressa-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipetesc%2Fexpressa-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipetesc%2Fexpressa-lib/lists"}