{"id":23094259,"url":"https://github.com/aswitalski/angular-java8-test","last_synced_at":"2025-10-04T07:42:22.386Z","repository":{"id":27710850,"uuid":"31197821","full_name":"aswitalski/angular-java8-test","owner":"aswitalski","description":"A solution to \"sky-guide/angular-node-test\" with slightly different stack...","archived":false,"fork":false,"pushed_at":"2015-02-23T14:05:14.000Z","size":548,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-03T19:19:20.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aswitalski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-23T07:22:42.000Z","updated_at":"2015-02-23T14:05:14.000Z","dependencies_parsed_at":"2022-07-21T03:00:26.517Z","dependency_job_id":null,"html_url":"https://github.com/aswitalski/angular-java8-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aswitalski/angular-java8-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aswitalski%2Fangular-java8-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aswitalski%2Fangular-java8-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aswitalski%2Fangular-java8-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aswitalski%2Fangular-java8-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aswitalski","download_url":"https://codeload.github.com/aswitalski/angular-java8-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aswitalski%2Fangular-java8-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278283492,"owners_count":25961310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T21:58:36.833Z","updated_at":"2025-10-04T07:42:22.372Z","avatar_url":"https://github.com/aswitalski.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sky test\n\n### First important thing is a remark that I did read the instruction with understanding :)\n\nDuring the initial conversation with Joffrey I clearly stated that I do not have huge experience with node.js. We agreed that I will implement the solution with a different backend stack - Java based.\nI went for Java 8 + Spring MVC running on Jetty 9. Because of such stack the build tool is Maven.\n\nI focused on providing clear and fully unit-tested solution on both frontend and backend sides.\n(Because of lack of time and the agreed delivery date the end-to-end testing is not yet there, but all other work that was done hopefully is enough to grade the skills and the approach).\n\n### To build the project\n    $mvn clean install\n\n### To run the server:\n    $mvn jetty:run\n\n### Then the application will be available at:\n    http://localhost:8080/index.html\n\nBecause of the Java backend, the sign-in is based on sessions (with jsessionid being passed over), an alternative could be based on auth tokens.\n\n### With this solution I tried to demonstrate how to:\n  * structure the applications correctly\n  * define components with single responsibility\n  * integrate the components with one another\n  * fully unit test all the components\n  * provide integration tests for controllers\n  * create self-explaining and easy-readable code\n  * combine imperative and functional programming (lambdas used)\n  * construct the build process manually with full understanding of phases\n  * provide good user experience\n\n### If the application was developed further the next steps would be:\n  * provide end-to-end testing\n  * use directives and templates in the frontend\n  * use Spring Security for a security aspect\n  * move authentication attempts data gathering to an interceptor\n  * use the database instead of in-memory mock\n  * (optional) change authentication and authorisation mechanisms to a token-based solution\n  * not to require the \"index.html\" in the URL :)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faswitalski%2Fangular-java8-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faswitalski%2Fangular-java8-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faswitalski%2Fangular-java8-test/lists"}