{"id":19529259,"url":"https://github.com/arielfaur/nestjs-stripe-example","last_synced_at":"2026-04-09T12:03:11.011Z","repository":{"id":92731425,"uuid":"434424255","full_name":"arielfaur/nestjs-stripe-example","owner":"arielfaur","description":"Sample nestjs and Stripe Checkout integration. Backend running on Docker containers Angular frontend runs on host machine.","archived":false,"fork":false,"pushed_at":"2021-12-17T01:15:03.000Z","size":318,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T02:42:01.853Z","etag":null,"topics":["angular","docker","docker-compose","mongodb","nestjs","stripe"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arielfaur.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":"2021-12-03T01:06:01.000Z","updated_at":"2021-12-17T01:15:06.000Z","dependencies_parsed_at":"2023-04-28T11:46:59.213Z","dependency_job_id":null,"html_url":"https://github.com/arielfaur/nestjs-stripe-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arielfaur/nestjs-stripe-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arielfaur%2Fnestjs-stripe-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arielfaur%2Fnestjs-stripe-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arielfaur%2Fnestjs-stripe-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arielfaur%2Fnestjs-stripe-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arielfaur","download_url":"https://codeload.github.com/arielfaur/nestjs-stripe-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arielfaur%2Fnestjs-stripe-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28132549,"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","status":"online","status_checked_at":"2025-12-30T02:00:05.476Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["angular","docker","docker-compose","mongodb","nestjs","stripe"],"created_at":"2024-11-11T01:23:11.264Z","updated_at":"2025-12-30T21:05:56.417Z","avatar_url":"https://github.com/arielfaur.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nest - Stripe Checkout integration example\n\n## Instructions\n\n1. Define NODE_ENV environment variables\n    ```\n    PORT=3000\n    STRIPE_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxxxx\n    STRIPE_TEST_KEY=sk_test_xxxxxxxxxxxxxxxxxxxxxxxxxx\n    ```\n    Note: STRIPE_WEBHOOK_SECRET key is required for webhook debugging\n\n\n2. Launch backend services (Nest JS, MongoDB, Mongo-Express, Redis ...)\n    ```\n    docker-compose up dev\n    ````\n\n3. Listen to Stripe event on localhost (optional)\n\n        stripe login\n    \n        stripe listen --forward-to localhost:3000/order/webhook\n\n\n4. Start Angular frontend\n    ```\n    cd client\n    npm install\n    ng serve\n    ```\n\n5. Browse frontend on http://localhost:4200\n\n6. MongoDB explorer on http://localhost:8081\n    - Check that an initial myDatabase has been created\n    - Check that an initial tickets collection has been created\n\n\n7. Browse Swagger API on http://localhost:3000/api\n\n## Changelog\n\n2021-12-09 Added mongoose service layer and list of ordered items\n\n## TODO\n- ~~Missing MongoDB integration (currently using in-memory storage)~~\n- Tests (unit/integration)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farielfaur%2Fnestjs-stripe-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farielfaur%2Fnestjs-stripe-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farielfaur%2Fnestjs-stripe-example/lists"}