Giter VIP home page Giter VIP logo

attendance-system's Introduction

attendance-system

Some worthy notes.

  • I am using a 24hr timestamp
  • You can check-in and checkout at any time,
  • Because I am in development mode. I made it such that you can check-in again in the next 5 seconds after the previous checkin (Ideally this should be set to 24hrs. depending on the how the work place is run. It could be a day job, or a job with morning and night shifts. the code can suit any purpose with a bit of modification)
  • If an employee does not checkout for a certain day . the number of work hours is not computed for that day and it will not be added to the total number of work hours of that employee.

Some stuff that I will add later

  • Ability for the employees to search for their names
  • Some administrative work route. for the manager
  • Data visualizations using d3.js (bar, charts, heat maps, nodes) etc. d3.js remains the best in-browser data visualization library.

Requirements

Getting started

  • start a mongo database process

  • expose environment variables

export DATABASE=localhost
export port=9000
export SECRET=1e1df736
  • install libraries
npm install
  • start in dev mode
npm run dev
  • You must see this log:
Server is up and running
Connection to database was succesful

Other logs could be indicate an error.

Home Page

Point your browser at http://localhost:9000 and you will be see something like:

demo

attendance-system's People

Contributors

jrichardsz avatar lexyblazy avatar

Watchers

 avatar  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.