{"id":24868633,"url":"https://github.com/web-seven/serverless-offline-express","last_synced_at":"2025-07-28T09:10:36.144Z","repository":{"id":109327808,"uuid":"197761677","full_name":"web-seven/serverless-offline-express","owner":"web-seven","description":"Serverless plugin for run functions offline using Express server","archived":false,"fork":false,"pushed_at":"2019-08-16T13:57:53.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-28T11:39:55.556Z","etag":null,"topics":["expressjs","firebase-functions","google-cloud-functions","serverless","serverless-offline"],"latest_commit_sha":null,"homepage":"","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/web-seven.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}},"created_at":"2019-07-19T11:32:13.000Z","updated_at":"2020-03-14T12:06:05.000Z","dependencies_parsed_at":"2023-05-02T05:35:08.782Z","dependency_job_id":null,"html_url":"https://github.com/web-seven/serverless-offline-express","commit_stats":null,"previous_names":["headsquad/serverless-offline-express"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-seven%2Fserverless-offline-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-seven%2Fserverless-offline-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-seven%2Fserverless-offline-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-seven%2Fserverless-offline-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web-seven","download_url":"https://codeload.github.com/web-seven/serverless-offline-express/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245733900,"owners_count":20663600,"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":["expressjs","firebase-functions","google-cloud-functions","serverless","serverless-offline"],"created_at":"2025-02-01T02:29:37.348Z","updated_at":"2025-03-26T20:43:36.321Z","avatar_url":"https://github.com/web-seven.png","language":"JavaScript","readme":"# Serverless Offline Express\n\n[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA Serverless v1.x plugin to run HTTP and PubSub functions with [Express](https://github.com/expressjs/express).\n\nThis plugin is for you if you want to run offline multiple NodeJS/TypeScript functions, which use request and response Express framework.\n\nSome of serverless services like Google Gloud Functions or Firebase Function use standard Express requests and response on HTTP function invocation, \nand this plugin allow to run them together offline and keep compatible develoment all Express based functions.\n\n## Highlights\n\n* Configuration possibilities range from zero-config \n* Combine in same running Express process all HTTP and PubSub handlers\n* Support TypeScript functions execution\n* Express 4 support\n* Support NPM and Yarn for packaging\n* Hot Module Reload support\n* Emulate [Message](https://firebase.google.com/docs/reference/functions/functions.pubsub.Message) interface for PubSub functions \n\n## Install\n\n```bash\n$ npm install serverless-offline-express --save-dev\n```\n\nAdd the plugin to your `serverless.yml` file:\n\n```yaml\nplugins:\n  - serverless-offline-express\n```\n\n## Configure\n\nPlugin not support yet any configuration.\n\n## Configure function\n\n```yaml\n# serverless.yml\n\n# Accessible by URL: /myFunction\nfunctions:\n  myFunction:\n    handler: handlers/myHandlerFile.myFunctionName\n    events:\n      - http: \n          path: myHttpUrlPath\n          method: GET|PUT|POST|DELETE\n\n# Accessible by URL: /pubsub/myPubSubMessageTopic?message={\"name\":\"test\"}\u0026attributes[name]=test_attribute\n  myPubSubFunction:\n    handler: handlers/anotherHandlerFile.myPubSubFunctionName\n    events:\n      - pubsub: \n          topic: myPubSubMessageTopic\n```\n\n## Run Express server\n\n```bash\n$ serverless express\n```\n\n## Environment variables\n* **EXPRESS_HOST** - Host name where Express will start\n* **EXPRESS_PORT** - Port where Express will start","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-seven%2Fserverless-offline-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb-seven%2Fserverless-offline-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-seven%2Fserverless-offline-express/lists"}