{"id":16779750,"url":"https://github.com/petermosmans/vue-3-secure-coding","last_synced_at":"2026-02-20T01:33:22.618Z","repository":{"id":248562215,"uuid":"684074194","full_name":"PeterMosmans/vue-3-secure-coding","owner":"PeterMosmans","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-15T16:37:20.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T19:50:45.372Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PeterMosmans.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-28T12:00:13.000Z","updated_at":"2024-09-05T13:35:46.000Z","dependencies_parsed_at":"2024-07-15T20:35:25.247Z","dependency_job_id":null,"html_url":"https://github.com/PeterMosmans/vue-3-secure-coding","commit_stats":null,"previous_names":["petermosmans/vue-3-secure-coding"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PeterMosmans/vue-3-secure-coding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fvue-3-secure-coding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fvue-3-secure-coding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fvue-3-secure-coding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fvue-3-secure-coding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterMosmans","download_url":"https://codeload.github.com/PeterMosmans/vue-3-secure-coding/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fvue-3-secure-coding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29638633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T22:32:43.237Z","status":"ssl_error","status_checked_at":"2026-02-19T22:32:38.330Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-10-13T07:32:07.605Z","updated_at":"2026-02-20T01:33:22.580Z","avatar_url":"https://github.com/PeterMosmans.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notes\n\nThis is a Vue 3 demo application meant to learn secure coding. Make sure to NOT\nuse this anytime in production, as this site contains deliberate security\nvulnerabilities.\n\n## How to use\n\nClone the repository to a directory. In that directory, run\n\n```bash\nnpm install\n```\n\n### API endpoint\n\nThe repository contains a (very insecure) 'mock' API endpoint. To run the API\nserver, ensure that the variables in `.env.development.local` are suitable for\nyour environment (`API_HOST` and `API_PORT` on which IP address and port the API\nserver will listen). Then, run\n\n```bash\n./start-api-server.sh \u0026\n```\n\nThis will start the API server in the background. When encountering login\nerrors, please ensure that the (development or production) web server can access\nthe API endpoint.\n\nTo check that, go to the path `/db` of the (development / production) web\nserver: This should output a JSON file containing the data store. If not, then\ndouble-check whether the API server is running and listening on the specified\nhost and port.\n\n## Start local development web server\n\nThe port number for the local development server is configured in\n`.env.development.local` as `WEB_PORT`.\n\n```bash\nnpm run dev\n```\n\n### Docker image\n\nTo build a Docker image which will host nginx and the application, run\n\n```sh\nnpm run image\n```\n\nThis executes the build script, which reads the `.env.production.local`\nvariables and uses them to configure the API \"proxy\" in nginx.\n\n### Run Docker container\n\nThe container will listen on the ports specified in `package.json`.\n\n```sh\nnpm run test\n```\n\n## About\n\nThis project is scaffolded using:\n\n```bash\nnpm create vue@latest notes\ncd notes\nnpm install\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetermosmans%2Fvue-3-secure-coding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetermosmans%2Fvue-3-secure-coding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetermosmans%2Fvue-3-secure-coding/lists"}