No description
https://pizzadash.fnukapps.com
.vscode | ||
public | ||
src | ||
.buildpacks | ||
.gitignore | ||
.static | ||
index.html | ||
jsconfig.json | ||
package-lock.json | ||
package.json | ||
README.md | ||
vite.config.js |
PizzaDashboard
View orders made with my demo pizza ordering phone system (not yet public)
Written in Svelte+Vite with Appwrite as the backend.
Get this running
Requirements
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.
Steps
- Create a
.env
file in the root:
APPWRITE_ENDPOINT=...
APPWRITE_PROJECT=...
- Install dependancies -
npm install
- Run -
npm run dev
, or build -npm run build