Giter Site home page Giter Site logo

worktimetracker's Introduction

worktimetacker (a JHipster project)

  • I started by creating new empty JHipseter application (took cca 15 minutes)
  • Then I designed entity model in JDL studio (another 15 minutes)
  • I imported entity model to JHipster to create entity
yo jhipster:import-jdl your-jdl-file.jh
  • Unfortunately JDL does not support otherEntityField so in every form related entities were searchable by id. Therefor I had to edit entity HTMLs for Angular to show some friendlier attribut like user's login or project's name. (30 minutes)
  • I chose imageblob as a format for receipt scans so I changed to support PDF upload. (30 minutes)
  • I used Apache POI library to generate Excel file for expenses and added button to Expenses listing where excel can be downloaded. I wanted to add some PowerMock test but haven't managed to get it running, so I got rid of it. (1h 30m)
  • And finally, there are statictis for user's total expenses and hours spend working on each project by user (1h 30m)
GET /api/expenses/total
GET /api/worklogs/total

At one time I had to restart my environment and it showed as mistake, because official docker image doesn't seem to be updated and when you want get it up-to-date there are problems with npm creating symlinks on virtual box share and gulp somehow doesn't want to install dependencies automaticaly. It took me a while to overcome this.

worktimetracker's People

Contributors

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