{"id":18256930,"url":"https://github.com/mediacomem/revprod-landing-page","last_synced_at":"2025-04-08T22:28:55.773Z","repository":{"id":73832532,"uuid":"452973385","full_name":"MediaComem/revprod-landing-page","owner":"MediaComem","description":"Landing page for The Revolutionary Product, a multi-component web application to illustrate CORS and reverse proxying","archived":false,"fork":false,"pushed_at":"2024-11-10T01:10:26.000Z","size":188,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-02-14T17:43:26.006Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"EJS","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/MediaComem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-01-28T07:14:25.000Z","updated_at":"2024-11-10T01:10:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"7da41fb5-9cce-4ec0-a432-e95cd483e654","html_url":"https://github.com/MediaComem/revprod-landing-page","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Frevprod-landing-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Frevprod-landing-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Frevprod-landing-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Frevprod-landing-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MediaComem","download_url":"https://codeload.github.com/MediaComem/revprod-landing-page/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247938529,"owners_count":21021540,"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":"2024-11-05T10:24:12.007Z","updated_at":"2025-04-08T22:28:55.768Z","avatar_url":"https://github.com/MediaComem.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Revolutionary Product - Landing Page\n\nLanding page for The Revolutionary Product, a multi-component web application to\nillustrate [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing)\nand [reverse proxying](https://en.wikipedia.org/wiki/Reverse_proxy).\n\n[![build](https://github.com/MediaComem/revprod-landing-page/actions/workflows/build.yml/badge.svg)](https://github.com/MediaComem/revprod-landing-page/actions/workflows/build.yml)\n[![license](https://img.shields.io/github/license/MediaComem/big-browser)](https://opensource.org/licenses/MIT)\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n- [Requirements](#requirements)\n- [Development](#development)\n- [Production](#production)\n- [Configuration](#configuration)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Requirements\n\n- [Node.js][node] 22.x\n\n## Development\n\n```bash\n# Clone and move into the repository\ngit clone https://github.com/MediaComem/revprod-landing-page.git\ncd revprod-landing-page\n\n# Install dependencies\nnpm ci\n\n# Run the application in development mode\nnpm run dev\n```\n\n## Production\n\n```bash\n# Clone and move into the repository\ngit clone https://github.com/MediaComem/revprod-landing-page.git\ncd revprod-landing-page\n\n# Install dependencies\nnpm install --production\n\n# Run the application in development mode\nREVPROD_BACKEND_BASE_URL=https://revprod.example.com node ./bin.js\n```\n\n## Configuration\n\nThe application can be configured using the following environment variables:\n\n| Variable                   | Default value                            | Description                                                     |\n| :------------------------- | :--------------------------------------- | :-------------------------------------------------------------- |\n| `REVPROD_BACKEND_BASE_URL` | -                                        | The public URL at which the revprod backend can be accessed.    |\n| `REVPROD_LISTEN_HOST`      | `0.0.0.0`                                | The IP address to listen to (use `0.0.0.0` for any IP address). |\n| `REVPROD_LISTEN_PORT`      | `3000`                                   | The port to listen on.                                          |\n| `REVPROD_TITLE`            | `The Revolutionary Product`              | The title displayed in the navbar.                              |\n| `REVPROD_LOG_LEVEL`        | `DEBUG` in production, `TRACE` otherwise | The highest level of log messages to output.                    |\n\n\u003e In development mode, you can also put these settings in a `.env` file in the\n\u003e repository. See the `.env.sample` file.\n\n[cors]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS\n[node]: https://nodejs.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediacomem%2Frevprod-landing-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediacomem%2Frevprod-landing-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediacomem%2Frevprod-landing-page/lists"}