{"id":18870361,"url":"https://github.com/breejs/express-example","last_synced_at":"2026-03-10T10:32:15.404Z","repository":{"id":106310147,"uuid":"279692711","full_name":"breejs/express-example","owner":"breejs","description":"This repository is just for example purposes.","archived":false,"fork":false,"pushed_at":"2025-03-19T01:32:38.000Z","size":22,"stargazers_count":19,"open_issues_count":6,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-20T23:51:07.085Z","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/breejs.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}},"created_at":"2020-07-14T21:04:25.000Z","updated_at":"2024-01-01T15:57:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6d36c6c-c71a-4e18-bc08-467d63dcaabd","html_url":"https://github.com/breejs/express-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/breejs/express-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breejs%2Fexpress-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breejs%2Fexpress-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breejs%2Fexpress-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breejs%2Fexpress-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/breejs","download_url":"https://codeload.github.com/breejs/express-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breejs%2Fexpress-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30330580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: 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":[],"created_at":"2024-11-08T05:19:51.576Z","updated_at":"2026-03-10T10:32:15.374Z","avatar_url":"https://github.com/breejs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-example\n\n[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)\n[![license](https://img.shields.io/github/license/breejs/express-example.svg)](LICENSE)\n\n\u003e This repository is just for example purposes.\n\n\n## Table of Contents\n\n* [Example](#example)\n* [Contributors](#contributors)\n* [License](#license)\n\n\n## Example\n\nThis repository is just for example purposes.  If you want to run this example locally, then follow these steps:\n\n1. Clone the repository locally and install dependencies:\n\n   ```sh\n   git clone https://github.com/breejs/express-example.git\n   cd express-example\n   npm install\n   ```\n\n2. Start the `app.js` and `bree.js` processes in separate terminal windows at the same time:\n\n   ```sh\n   node app.js\n   ```\n\n   ```sh\n   node bree.js\n   ```\n\n3. Send example requests to the server (this will automatically open a browser tab for you with the rendered emails when they're sent):\n\n   ```sh\n   curl -X POST http://localhost:8080/send-email -d \"email=foo@gmail.com\" \n   ```\n\n   ```sh\n   curl -X POST http://localhost:8080/book-ticket -d \"email=foo@gmail.com\" -d \"start_time=7/14/20 4:00 PM\"\n   ```\n\n4. You can modify the payload `-d` parameter values in the previous example requests if you wish to test different \"movie start times\" or email addresses.  See the code in [app.js](app.js) and [bree.js](bree.js) for more insight.\n\n\n## Contributors\n\n| Name           | Website                    |\n| -------------- | -------------------------- |\n| **Nick Baugh** | \u003chttp://niftylettuce.com/\u003e |\n\n\n## License\n\n[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreejs%2Fexpress-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbreejs%2Fexpress-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreejs%2Fexpress-example/lists"}