Skip to content
/ einkauf Public

A simple grocery list app for your shopping needs

License

Notifications You must be signed in to change notification settings

sdaros/einkauf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Einkauf App

Deployment Instructions

The einkauf app's public/ directory can be served on a CDN or through a reverse proxy. Here is an example of the configuration for a caddy instance listening on port 8000 at the domain einkauf.example.com :

 encode zstd gzip
 root * /artifacts/sites/einkauf.example.com/public
 log
 handle /ws* {
   reverse_proxy localhost:9999
 }

and then make sure to have a systemd service which launches the web-socket server and you're good to go.

[Unit]
Description=Let's go Einkaufen!
Type=simple

[Service]
Environment="PORT=9999"
ExecStart=/usr/bin/node /artifacts/sites/einkauf.example.com/node_modules/y-websocket/bin/server.js

All data is persisted on the server in the db/ folder (in the example above, that would be in /artifacts/sites/einkauf.example.com/db)

About

A simple grocery list app for your shopping needs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published