{"id":23382192,"url":"https://github.com/code0wl/vue-practice","last_synced_at":"2026-03-20T01:16:40.899Z","repository":{"id":42785378,"uuid":"274252881","full_name":"code0wl/vue-practice","owner":"code0wl","description":"Trying out vue for a bit","archived":false,"fork":false,"pushed_at":"2022-12-13T03:28:14.000Z","size":586,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T08:49:15.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/code0wl.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":"2020-06-22T22:12:02.000Z","updated_at":"2023-03-08T04:52:11.000Z","dependencies_parsed_at":"2023-01-28T06:01:00.846Z","dependency_job_id":null,"html_url":"https://github.com/code0wl/vue-practice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/code0wl/vue-practice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code0wl%2Fvue-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code0wl%2Fvue-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code0wl%2Fvue-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code0wl%2Fvue-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code0wl","download_url":"https://codeload.github.com/code0wl/vue-practice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code0wl%2Fvue-practice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28590071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T20:45:59.482Z","status":"ssl_error","status_checked_at":"2026-01-19T20:45:41.500Z","response_time":67,"last_error":"SSL_read: 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":[],"created_at":"2024-12-21T21:18:02.221Z","updated_at":"2026-01-19T23:33:49.448Z","avatar_url":"https://github.com/code0wl.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeChallenge project\n\nTime spent ~ 4.5 hours (Monday: 19:30 - 00:18)\n\nWhat I did differently than normal. Vue is my least used framework compared to React and Angular. I have never used it outside of some personal projects. So I had the docs in hand while writing. One thing I am NOT fully familiar with yet are the best practices within Vue. So I tried to stick as close to the linters as possible.\n\n## BE Stack\n\n- NoSQL json-server from Typicode (github.com/typicode/json-server)\n- NodeJS\n- Faker for random instance data\n- Jest\n\n## FE Stack\n\n- VueJS\n- Veux\n- Veu Router\n- TypeScript\n- Sass\n- Jest\n\nNormally I would split these projects into two repos. There are pros and cons for doing this, but I personaly think the pros outweigh the cons.\nThe stack choices I have made coincide with the ones from the company, that is why I picked them.\n\n### Pros\n\n1. **Independent job/release** releasing and maintaining is less made complicated\n2. **Less code** means easier to learn and set dedicated developers on it\n3. **Smaller scope** Allows for a more focused type of development. Leads to much better collaboration and code reviews as the scope is narrower.\n4. **Any frontend** Since the frontend is now decoupled. Any frontend can talk to this backend.\n\n### Cons\n\n1. **Duplicate dependencies** Having to maintain seperate dependencies in both project (a common project would need to be created so both projects could consume)\n\n## Methodologies\n\n- TDD (For the most part...)\n- PDD (performance driven development)\n- Functional mixed with OOP\n- Build first (pipeline was done first for rapid development)\n- Mock/Stub everything\n- Usage of container components\n\n### How to run\n\nThere are two project that have to run. The client and the server.\nWhile in root of the project run the following command:\n\n```bash\nnpm start\n```\n\n### Apps will start at\n\n- client: http://localhost:8080\n- server: http://localhost:4200\n\n### Extras\n\nWhen I bought dvd in the past, it was awesome to learn they had extra content being delivered with the movies.\nAs inspiration from this. I decided to include some product extras.\n\n- Threw in Redux for side effects management\n\n### Tools used\n\n- VueJS Chrome dev-tool (performance monitor, veux validation)\n- VSCode\n- VSCode Vetur plugin\n\n### Todo\n\nOf course time is limited, if I had more time I would have added more mixins. But it's a nice to have since this is a one-off container/feature.\n\n- Debounce on search to avoid premature rerender\n- Lazyloading table rows / pagination for large datasets\n- Refactor wizard dialog into two components that takes an array of steps\n- Made the app a bit nicer with some good ol' styling\n- Used html search field that has clear search functionality, but doesn't work on all browsers\n- CurrencyFormatting\n- Remove all any types\n- Of course add more coverage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode0wl%2Fvue-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode0wl%2Fvue-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode0wl%2Fvue-practice/lists"}