Find a file
2023-02-20 01:25:13 +00:00
.vscode inital commit 2023-01-25 19:16:49 +00:00
public inital commit 2023-01-25 19:16:49 +00:00
src inital commit 2023-01-25 19:16:49 +00:00
.buildpacks remove nginx versioning 2023-02-20 01:18:06 +00:00
.gitignore inital commit 2023-01-25 19:16:49 +00:00
.static tell dokku thisll be a static site 2023-02-20 01:14:31 +00:00
index.html inital commit 2023-01-25 19:16:49 +00:00
jsconfig.json inital commit 2023-01-25 19:16:49 +00:00
package-lock.json inital commit 2023-01-25 19:16:49 +00:00
package.json inital commit 2023-01-25 19:16:49 +00:00
README.md update README 2023-01-25 19:37:47 +00:00
vite.config.js inital commit 2023-01-25 19:16:49 +00:00

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 - int
  • status - int
  • total - 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

  1. Create a .env file in the root:
APPWRITE_ENDPOINT=...
APPWRITE_PROJECT=...
  1. Install dependancies - npm install
  2. Run - npm run dev, or build - npm run build