View orders made with my demo pizza ordering phone system (not yet public)
Written in Svelte+Vite with Appwrite as the backend.
You'll need an Appwrite server with the following:
One DB called pizza_shop
, containing one tables called orders
, with the following attributes:
id
- intstatus
- inttotal
- double (aka float)order
- string
You'll need to create Indexes for id
, $id
and status
.
Permissions on the table should be:
- Any - Read
- Users - Read, Update
team:create
- Create, Read, Update, Delete
Create a team called create
. Users in this team can delete orders. In the future they might also be able to create orders.
I plan to put up the DB file at some point.
- Create a
.env
file in the root:
APPWRITE_ENDPOINT=...
APPWRITE_PROJECT=...
- Install dependancies -
npm install
- Run -
npm run dev
, or build -npm run build