🍩🚀 A react app for a donut delivery service
⚠️ Warning: this app is incomplete, do not use it in production!
A React (Next.js) donut delivery app. This app uses BuiltOn and their JavaScript SDK in order to manage app data such as:
This works with my delivery-manager application that allows employees/admins to view orders, change order status, refunds, etc.
🗺 If you use VS Code, use the CodeTour extension to get install instructions in the IDE. Just open and the project in VS Code and start the tour!
Otherwise, follow these instructions to set up the project:
Create a free BuiltOn account
Create a Google Firebase project and link it in to your BuiltOn dashboard.
Configure Firebase Auth to accept Google logins & guest accounts
Clone this repo and npm install
Configure the app's enviromnent variables with your API keys:
.env.build
file (use .env.build.sample
as reference)now.json
now dev
(or npx now dev
if you don't have now installed globally)next.config.js
instead of the process.env
definitionsnpm run dev
public/zip-codes.json
is .gitignored) or use a service like JSONbin to host it. Make sure it is set to "🔓 Public" (example)
ZIP_CODES_JSON
environment variableAdd some products in the BuiltOn Dashboard to make things more interesting 🚀
ℹ 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! 🚀