Coder Social home page Coder Social logo

triqueon / wzet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from archi/wzet

0.0 1.0 0.0 62 KB

This tool is used by our rather big cooking group to determine who has to pay for dinner. It's a very simple, web-based stand-alone PHP application using SQLite3 as backend.

License: Other

CSS 3.26% PHP 96.74%

wzet's Introduction

Travis linting status: Travis Built Status Image

This is our "Who pays the bill" [german: Wer Zahlt EigenTlich => WZET] tool.

Visuals and code are both very crude, since I just hacked it with little effort put into it.

To get a running instance:

  1. Create inc/config.php (you can copy and adapt inc/config.dist.php).
  2. Copy inc/db/empty.sqlite to your specified DB.
  3. Register a user and set his flag to 1 [=Admin] in the database.
  4. (optional) add phpsqliteadmin to sqladmin.php

General todo (not in any order):

  1. Prevent JS injection via Name/Login (display is not filtered atm); fix german special chars (Umlaute) while at that.
  2. setup.php?
  3. Localization
  4. A design
  5. Function: Start event so people can RSVP and add their +X
  6. Function: Rollback
  7. Function: Add another bill (by someone else) - DB should be able to reflect this, but the code does not
  8. DB names should be english, not german
  9. display more details in the log

DB layout is not quite 100% ERM, but I believe the way I did it now is a bit more versatile. I.e. the Users.Konto value could be computed on the fly, but that way it can be bootstrapped with values != 0.

wzet's People

Contributors

archi avatar wherget avatar triqueon avatar neopcl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.