{"id":15858958,"url":"https://github.com/bpmct/donut-delivery","last_synced_at":"2026-01-31T16:02:28.590Z","repository":{"id":38233225,"uuid":"234977751","full_name":"bpmct/donut-delivery","owner":"bpmct","description":"🍩🚀 A react app for a donut delivery service","archived":false,"fork":false,"pushed_at":"2023-01-24T01:38:35.000Z","size":593,"stargazers_count":0,"open_issues_count":25,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-08T17:05:04.705Z","etag":null,"topics":["builton","firebase","nextjs","reactjs"],"latest_commit_sha":null,"homepage":"https://donut-delivery.now.sh","language":"JavaScript","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/bpmct.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}},"created_at":"2020-01-19T22:30:36.000Z","updated_at":"2021-05-11T12:39:26.000Z","dependencies_parsed_at":"2023-02-13T09:30:45.828Z","dependency_job_id":null,"html_url":"https://github.com/bpmct/donut-delivery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bpmct/donut-delivery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpmct%2Fdonut-delivery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpmct%2Fdonut-delivery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpmct%2Fdonut-delivery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpmct%2Fdonut-delivery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bpmct","download_url":"https://codeload.github.com/bpmct/donut-delivery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpmct%2Fdonut-delivery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28947567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T14:26:55.697Z","status":"ssl_error","status_checked_at":"2026-01-31T14:26:52.545Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["builton","firebase","nextjs","reactjs"],"created_at":"2024-10-05T21:02:22.599Z","updated_at":"2026-01-31T16:02:28.575Z","avatar_url":"https://github.com/bpmct.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# donut-delivery\n\n**⚠️ Warning: this app is incomplete, do not use it in production!**\n\nA React (Next.js) donut delivery app. This app uses [BuiltOn](https://builton.dev) and their JavaScript SDK in order to manage app data such as:\n\n- Users (↔️ with Firebase Auth)\n- Products (donuts in this case 🍩)\n- Discount coupons\n- Orders\n- Payments (↔️ with Stripe)\n\nThis works with my [delivery-manager](https://github.com/bpmct/delivery-manager) application that allows employees/admins to view orders, change order status, refunds, etc.\n\n## Installation\n\n🗺 If you use VS Code, use the [CodeTour](https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour) extension to get install instructions in the IDE. Just open and the project in VS Code and start the tour!\n\n**Otherwise, follow these instructions to set up the project:**\n- Create a [free BuiltOn account](https://builton.dev)\n- Create a [Google Firebase project](https://firebase.com) and link it in to your BuiltOn dashboard.\n- Configure Firebase Auth to accept Google logins \u0026 guest accounts\n- Clone this repo and `npm install`\n- Configure the app's enviromnent variables with your API keys:\n\n  - If you want to deploy (or develop with) to ZEIT/Now:\n    - For local development, add a `.env.build` file (use `.env.build.sample` as reference)\n    - Add [now secrets](https://zeit.co/docs/v2/build-step#adding-secrets) based off the @ definitions in `now.json`\n    - Begin developing with `now dev` (or `npx now dev` if you don't have now installed globally)\n  - If you just want to build locally (or deploy elseware):\n    - Add your API keys `next.config.js` instead of the `process.env` definitions\n    - Start developing with `npm run dev`\n  - Configuring the ZIP Codes that quality for delivery is a bit tricky:\n    - Use [this tool](https://www.zipcodeapi.com/API#radius) by zipcodeapi.com to generate a JSON list of cities and zip codes with delivery\n    - Upload the JSON file to your project directory (`public/zip-codes.json` is .gitignored) or use a service like [JSONbin](https://jsonbin.io/) to host it. Make sure it is set to \"🔓 Public\" [(example)](https://api.jsonbin.io/b/5e8aa04c0cb49e48ce234e42)\n    - Set the proper URL of the file with the `ZIP_CODES_JSON` environment variable\n\n- Add some products in the [BuiltOn Dashboard](https://dashboard.builton.dev/order_process/products) to make things more interesting 🚀\n\n---\n\nℹ Disclaimer: I do consulting work for BuiltOn and needed to make a delivery app for my friend's donut shop. I figured making it open source would be a fun way to show BuiltOn's capabilities! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpmct%2Fdonut-delivery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpmct%2Fdonut-delivery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpmct%2Fdonut-delivery/lists"}