Go to file
Dovi Cowan 2d79409124
dokku support
Squashed commit of the following:

commit 74907fdde3
Author: Dovi Cowan <dovi@fullynetworking.co.uk>
Date:   Mon Feb 20 01:25:13 2023 +0000

    remove unnecessary app.json

commit 7449a6b908
Author: Dovi Cowan <dovi@fullynetworking.co.uk>
Date:   Mon Feb 20 01:18:06 2023 +0000

    remove nginx versioning

commit 29a2d5539e
Author: Dovi Cowan <dovi@fullynetworking.co.uk>
Date:   Mon Feb 20 01:14:57 2023 +0000

    remove .static from dist

commit 4b91736c66
Author: Dovi Cowan <dovi@fullynetworking.co.uk>
Date:   Mon Feb 20 01:14:31 2023 +0000

    tell dokku thisll be a static site

commit 57d9dd16cd
Author: Dovi Cowan <dovi@fullynetworking.co.uk>
Date:   Mon Feb 20 01:08:52 2023 +0000

    create .static for dokku

commit 9eb03eecfd
Author: Dovi Cowan <dovi@fullynetworking.co.uk>
Date:   Mon Feb 20 01:00:37 2023 +0000

    dokku support
2023-02-20 02:25:56 +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 dokku support 2023-02-20 02:25:56 +00:00
.gitignore inital commit 2023-01-25 19:16:49 +00:00
.static dokku support 2023-02-20 02:25:56 +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