joshkoz / cheekylearner

A logbook generator web application built with angular.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cheeky Learner

Cheeky Learner is a logbook generator web application built in javascript with Angular.js. It allows the user to generate pseudorandom entries for a Victorian learner driver's logbook.

Imgur

Cheeky Learner was built for the purpose of learning JavaScript, the Angular.js framework and the process involved in developing web applicatons. The current master branch of the applciation is hosted on an AWS server here. There you can demo an an extremely early and unfinished version of the application.

Test it out

Visit https://joshkoz.github.io/cheekylearner/ to demo the project

How it works:

Cheeky Learner works in three parts. Firstly, it prompts the user for some basic details, as seen in the image below.

Imgur

Next, these details are saved and passed along to the generator. The Pages Controller then requests a page(14 entries) to be generated. The generator uses the initial values to generate a new single line entry. This is then handed back off to the Pages Controller and this process repeats until 14 entries have been generated. Having entries be generated one at a time and sent to the Pages Controller stops obvious patterns from appearing by using a different seed each time.

Lastly, the Pages Controller formats these new entries into human readable form and adds them to the DOM where the user can then see them, styled in a fancy CSS table.

More pages by pressing the + button. Each new page builds upon the the data from previous pages and correctly tallies the total hours at the top of the page.

TODO:

  • Build a proper backend connected to a database
  • User accounts to allow users to pick up where they left off
  • More refined generation engine
  • Refactor the messy CSS

Disclaimer:

This application should in no way shape or form actually be used to spoof a learner's logbook. I take no responsibility if you decide to take that risk and it goes against the spirit in which this application was built. As the warning within the logbook itself states.

Heavy penalties will apply for providing false or misleading entries.

:)

About

A logbook generator web application built with angular.js


Languages

Language:JavaScript 90.3%Language:HTML 7.2%Language:CSS 2.4%Language:Python 0.1%Language:Dockerfile 0.1%