Skip to content

gilbertguevara/free-we-code-challenge

Repository files navigation

Frontend code challenge using Kotlin

I just want to test kotlin capabilities to compile to JavaScript. The project consists in four modules:

  • Common: Just extension functions used across all the projects.
  • DatePicker: An entire basic date picker library written entirely in Kotlin using kotlinx.html.
  • TimePicker: An entire basic time picker library written entirely in Kotlin using kotlinx.html.
  • Main: A project that integrates all on an appointment selection page.

Getting Started

Just run:

./gradlew clean build

This will generate the index.html and all the files necessary to run the unit tests using qunit.

Running the app

Navigate to web/index.html folder and open it on any browser.

Below, you can find some screenshots:

Appointment Creator

Date Picker

Time Picker

Save Appointment

Running the tests

There are three generated HTML files under web:

  • test-common.html
  • test-datepicker.html
  • test-timepicker.html

Opening every file on a browser will run qunit tests for every module.

Built With

Authors

  • Gilbert Guevara - Initial work

License

This project is licensed under the MIT License - see the LICENSE file for details

Releases

No releases published

Packages

No packages published