{"id":27144374,"url":"https://github.com/arondight/express-auth-demo","last_synced_at":"2026-05-04T10:39:32.294Z","repository":{"id":101239511,"uuid":"479594978","full_name":"Arondight/express-auth-demo","owner":"Arondight","description":"A login demo with Express.js and Vue.js.","archived":false,"fork":false,"pushed_at":"2025-03-30T03:45:35.000Z","size":2278,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T04:24:51.334Z","etag":null,"topics":["auth","cookie","cors","express","login","session","vue","vue3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Arondight.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-04-09T02:22:44.000Z","updated_at":"2025-03-30T03:45:33.000Z","dependencies_parsed_at":"2023-07-08T08:15:43.800Z","dependency_job_id":"3f56cd8a-fe6e-482e-8cd8-4ae6924044d3","html_url":"https://github.com/Arondight/express-auth-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arondight%2Fexpress-auth-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arondight%2Fexpress-auth-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arondight%2Fexpress-auth-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arondight%2Fexpress-auth-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arondight","download_url":"https://codeload.github.com/Arondight/express-auth-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809988,"owners_count":20999816,"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","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":["auth","cookie","cors","express","login","session","vue","vue3"],"created_at":"2025-04-08T08:58:59.083Z","updated_at":"2026-05-04T10:39:32.249Z","avatar_url":"https://github.com/Arondight.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-auth-demo\n\n## About\n\nAn authentication demo with [Express.js](https://github.com/expressjs/express.git) and [Vue.js](https://github.com/vuejs/core.git). The following technologies were used in the project, you can find them in the code.\n\n1. Session based authentication.\n2. HTML5 history mode.\n3. CORS with cookie.\n4. HTTPS with self-signed certificate.\n\n## Dependence\n\n### Node.js\n\n```shell\nexport N_NODE_MIRROR=\"https://mirrors.ustc.edu.cn/node/\"\nexport N_NODE_DOWNLOAD_MIRROR=\"https://mirrors.ustc.edu.cn/node/\"\ncurl -fsSL https://raw.githubusercontent.com/tj/n/master/bin/n | sudo -E bash -s lts\n```\n\n### podman\n\n1. [podman](https://podman.io/getting-started/installation) (and start as a service).\n2. [podman-compose](https://github.com/containers/podman-compose#installation).\n\n## Usage\n\n### Start Server\n\n```shell\ngit clone https://github.com/Arondight/express-auth-demo.git\ncd ./express-auth-demo/\nsudo podman-compose -f ./podman-compose/mongodb.yml up -d\nnpm install\nnpm run build\nnpm start\n```\n\n### Trust Self-signed Certificate\n\nRun the command below and trust the certificate in browser.\n\n```shell\nxdg-open https://localhost:3000/hello\nxdg-open https://localhost:8000/hello\n```\n\nIn Firefox click the `Advanced...` then the `Accept the Risk and Continue`. In Chrome click `Adavanced` then click `Proceed to localhost (unsafe)`.\n\n### Visit Home Page\n\n```shell\nxdg-open https://localhost:8000\n```\n\n## LICENSE\n\n[MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farondight%2Fexpress-auth-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farondight%2Fexpress-auth-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farondight%2Fexpress-auth-demo/lists"}