Giter Site home page Giter Site logo

pontoweb's Introduction

pontoweb

Clock in/out application written in PHP 5.6 with SQLite as the database backend.

description

Uses unix timestamp to the time accounting. It has one hardcoded administrator account which manages all the other ones.

The regular account user is capable of:

  • login
  • logoff
  • clock in and out [register presence]
  • delete account

The panel for the regular user shows:

  • the username
  • if it is clocked in/out
  • how many hours it has clocked in
  • and the last time it was clocked in.

The admin one shows the same info for all the users, and is capable of almost everything as the regular but clock in/out.

deploying

  • It requires the php code and a web server like apache or nginx.
    • but for testing just do a php -S localhost:8080 -t src
  • The database template is in database.sql.

All the configuration for the application 'Classes\Config.php' class file. To generate the hash for the passes you need just to paste this in your shell

  • php -r "echo hash('sha256', 'YOUR-PASSWORD')\n;" .

disclaimer

This is an amauter project (and by that I say ugly code, no architeture and structure of the app) which most of the purpose was to learn a little of PHP. It may or may not have real application. Feel free to try.

pontoweb's People

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.