{"id":17049540,"url":"https://github.com/armour/vue-typescript-admin-mock-server","last_synced_at":"2026-02-27T20:38:46.669Z","repository":{"id":54533677,"uuid":"190536395","full_name":"Armour/vue-typescript-admin-mock-server","owner":"Armour","description":"🖥 Mock server for vue-typecript-admin-template project","archived":false,"fork":false,"pushed_at":"2022-12-10T19:38:12.000Z","size":64,"stargazers_count":41,"open_issues_count":2,"forks_count":40,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-30T15:31:01.630Z","etag":null,"topics":["admin","mock","mock-server","typescript","vue"],"latest_commit_sha":null,"homepage":"https://vue-typescript-admin-mock-server.armour.now.sh/mock-api/v1/transactions","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/Armour.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-06T07:34:29.000Z","updated_at":"2025-05-16T12:01:44.000Z","dependencies_parsed_at":"2023-01-26T08:16:01.564Z","dependency_job_id":null,"html_url":"https://github.com/Armour/vue-typescript-admin-mock-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Armour/vue-typescript-admin-mock-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armour%2Fvue-typescript-admin-mock-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armour%2Fvue-typescript-admin-mock-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armour%2Fvue-typescript-admin-mock-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armour%2Fvue-typescript-admin-mock-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Armour","download_url":"https://codeload.github.com/Armour/vue-typescript-admin-mock-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armour%2Fvue-typescript-admin-mock-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29912442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"ssl_error","status_checked_at":"2026-02-27T19:37:41.463Z","response_time":57,"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":["admin","mock","mock-server","typescript","vue"],"created_at":"2024-10-14T09:54:50.900Z","updated_at":"2026-02-27T20:38:46.639Z","avatar_url":"https://github.com/Armour.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-typescript-admin-mock-server\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](http://makeapullrequest.com)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Template from jarvis](https://img.shields.io/badge/Hi-Jarvis-ff69b4.svg)](https://github.com/Armour/Jarvis)\n\nMock server for [vue-typecript-admin-template](https://github.com/Armour/vue-typescript-admin-template) project\n\n## Demo link\n\n[Demo](https://vue-typescript-admin-mock-server.armour.now.sh/mock-api/v1/transactions) (used by vue-typecript-admin-template)\n\n## Overview\n\nThe javascript code under `api` folder in this project was generated from the typescript source code located at [here](https://github.com/Armour/vue-typescript-admin-template/tree/master/mock) (by running `tsc` command in this directory). The only manually change is to rename the `mock-server.js` to `index.js`.\n\n## Swagger\n\nThe url schema is based on [Swagger config file](https://github.com/Armour/vue-typescript-admin-template/blob/master/mock/swagger.yml) and follows REST api standard.\n\n```txt\ninfo: {\n  name: 'Mock API',\n  description: 'Mock API for vue-typescript-admin-template.',\n  version: '1.0.0'\n},\npaths: {\n  get: [\n    '/mock-api/v1/articles',\n    '/mock-api/v1/articles/:id',\n    '/mock-api/v1/pageviews',\n    '/mock-api/v1/transactions',\n    '/mock-api/v1/roles',\n    '/mock-api/v1/routes',\n    '/mock-api/v1/users',\n    '/mock-api/v1/users/:username'\n  ],\n  post: [\n    '/mock-api/v1/articles',\n    '/mock-api/v1/roles',\n    '/mock-api/v1/users/register',\n    '/mock-api/v1/users/login',\n    '/mock-api/v1/users/logout',\n    '/mock-api/v1/users/info'\n  ],\n  put: [\n    '/mock-api/v1/articles/:id',\n    '/mock-api/v1/roles/:id',\n    '/mock-api/v1/users/:username'\n  ],\n  delete: [\n    '/mock-api/v1/articles/:id',\n    '/mock-api/v1/roles/:id',\n    '/mock-api/v1/users/:username'\n  ]\n}\n```\n\n## Try it on your own computer\n\nFirst install all dependencies:\n\n```bash\nyarn # OR npm install\n```\n\nThen you can set up the server:\n\n```bash\nyarn mock # OR npm run mock\n```\n\nor use the `vercel dev` command.\n\n## Host\n\nThis mock server is hosted by [Vercel](https://vercel.com/guides/using-express-with-vercel).\n\n## Contributing\n\nSee [CONTRIBUTING.md](https://github.com/Armour/vue-typescript-admin-mock-server/blob/master/.github/CONTRIBUTING.md)\n\n## License\n\n[MIT License](https://github.com/Armour/vue-typescript-admin-mock-server/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmour%2Fvue-typescript-admin-mock-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmour%2Fvue-typescript-admin-mock-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmour%2Fvue-typescript-admin-mock-server/lists"}