{"id":17974686,"url":"https://github.com/vadorequest/tradelab-angular","last_synced_at":"2026-05-05T12:32:27.281Z","repository":{"id":73629808,"uuid":"52311734","full_name":"Vadorequest/tradelab-angular","owner":"Vadorequest","description":"Challenge showcase for Tradelab","archived":false,"fork":false,"pushed_at":"2016-02-24T23:57:55.000Z","size":472,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T23:43:14.172Z","etag":null,"topics":["angular","nodejs","showcase"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Vadorequest.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":"2016-02-22T22:44:51.000Z","updated_at":"2017-10-11T10:57:12.000Z","dependencies_parsed_at":"2023-05-09T14:02:26.137Z","dependency_job_id":null,"html_url":"https://github.com/Vadorequest/tradelab-angular","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vadorequest/tradelab-angular","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vadorequest%2Ftradelab-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vadorequest%2Ftradelab-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vadorequest%2Ftradelab-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vadorequest%2Ftradelab-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vadorequest","download_url":"https://codeload.github.com/Vadorequest/tradelab-angular/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vadorequest%2Ftradelab-angular/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32649548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["angular","nodejs","showcase"],"created_at":"2024-10-29T17:15:00.763Z","updated_at":"2026-05-05T12:32:27.261Z","avatar_url":"https://github.com/Vadorequest.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tradelab exercise\n\nThis is an exercise asked by the **Tradelab** company.\n\nThe functional specification can be found in the **doc** folder.\n\nThe goal is to make the given application, following the given specifications with Angular.js front-end framework.\n\n## Getting started\n\n1. `npm install \u0026\u0026 bower install`\n2. `node server.js`\n3. Go to `http://localhost:9001/`\n\n## TODO list\n\n**Base features:**\n\n- [x] Angular setup. (~~20mn~~ 60mn)\n- [x] HTML (~~20mn~~ 30mn)\n    - [x] select box\n    - [x] city name\n    - [x] area for today's result\n    - [x] area for next three days results\n    - [x] styling (bootstrap) (~~forgotten~~ 20mn)\n- [x] Load JSON data to fill select input. (~~forgotten~~ 30mn) *[Issues with Angular load dependecies]*\n- [x] Call API endpoint to get the data for today. (~~30mn~~ 20mn)\n- [x] Call API endpoint to get the data for the next three days. (~~15mn~~ 20mn)\n- [x] Display API results. (~~30mn~~ 15mn)\n    - [x] weather icon depending on the result\n    - [x] min/max temperature in Celsius degrees\n- [x] Display results for the first city of the list by default. (10mn)\n- [x] Display loader while fetching data at startup. (~~forgotten~~ 20mn)\n- [x] Display pre-loader when a city is selected while we're fetching the data from the API endpoint. (~~10mn~~ 5mn)\n\nTotal (initially) estimated time: 155mn\nTotal time spent: 210-220\n\n*Optional features:*\n\n- [ ] ~~Autocomplete city name based on typed characters. (smart search) (30mn)~~\n- [ ] ~~Cleaning code. (20mn)~~\n\nTotal estimated time (with optional features): 205mn\n\n*Misc:*\n\n- [x] Reading specs, project management. (~~30mn~~ 45mn)\n- [x] Serve static file through node server. (~~10mn~~ 5mn)\n- [x] Read and understand the Weather API. (~~forgotten~~ 25mn)\n\nTotal estimated time (with optional features and misc): ~~245mn~~ 285mn\n\n---\n\nKnown issues:\n\n- CityService is useless, I wasn't able to pre-fetch the data through the route `_resolve` way. So I ended up using `$.get` right in the directive...\n- Some included files are useless (angular plugins), they were installed when trying to fix the `_resolve` thing with routes and states.\n\n---\n\nTotal time spent: 4h45","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadorequest%2Ftradelab-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvadorequest%2Ftradelab-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadorequest%2Ftradelab-angular/lists"}