{"id":16227329,"url":"https://github.com/johnpapa/vue-typescript","last_synced_at":"2025-09-04T22:31:08.452Z","repository":{"id":37747367,"uuid":"109551189","full_name":"johnpapa/vue-typescript","owner":"johnpapa","description":"Vue.js with TypeScript (OLD - in process of updating)","archived":false,"fork":false,"pushed_at":"2017-12-02T22:28:20.000Z","size":939,"stargazers_count":145,"open_issues_count":1,"forks_count":48,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-12-28T08:02:42.437Z","etag":null,"topics":["nodejs","typescript","vue","vue-router"],"latest_commit_sha":null,"homepage":"","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/johnpapa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-11-05T04:17:33.000Z","updated_at":"2023-08-29T10:37:24.000Z","dependencies_parsed_at":"2022-09-13T22:53:01.419Z","dependency_job_id":null,"html_url":"https://github.com/johnpapa/vue-typescript","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/johnpapa%2Fvue-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpapa%2Fvue-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpapa%2Fvue-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpapa%2Fvue-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnpapa","download_url":"https://codeload.github.com/johnpapa/vue-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231999624,"owners_count":18458180,"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":["nodejs","typescript","vue","vue-router"],"created_at":"2024-10-10T12:52:26.855Z","updated_at":"2024-12-31T14:58:59.743Z","avatar_url":"https://github.com/johnpapa.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-heroes\n\nA Cosmos DB, Express.js, Vue, and Node.js app\n\n## Features\n\nThis project framework provides the following features:\n\n* Vue.js\n* Node.js\n* Express\n* Mongoose API\n* Connecting to MongoDB or CosmosDB\n* Building, Debugging, Deploying with Docker\n\n## Getting Started\n\n### Prerequisites\n\nNode.js with npm\n\n### Installation\n\n``` bash\ngit clone https://github.com/johnpapa/vue-heroes.git\ncd vue-heroes\nnpm install\n```\n\n### Database settings\n\n* Configure Cosmos DB server settings\n\n    Rename the `.env.example.js` file to `.env` in the root folder and update it with your Cosmos DB settings. Replace the accountName, databaseName, key, and port with your specific configuration.\n\n    ```javascript\n    SERVER_PORT=3001\n    PUBLICWEB=./server/www\n    COSMOSDB_ACCOUNT=your_cosmos_account\n    COSMOSDB_DB=your_cosmos_db\n    COSMOSDB_KEY=your_cosmos_key\n    COSMOSDB_PORT=10255\n    ```\n\n### Quickstart\n\nThis will build the app and run the dev server for Vue and WebPack. The Node express server will launch and WebPack will proxy the calls from the browser to the API in express. It will also and prepare it for local debugging.\n\n``` bash\n# build for production with minification\nnpm run build\n\n# serve on http://localhost:8080\n# and run the api on http://localhost:3001\nnpm run debug\n```\n\n### Local Prod Build\n\nThis will build the app and launch via the Node.js express server.\n\n```bash\n# build for production with minification\nnpm run build\n\n# run the node server\nnpm start\n```\n\n### Docker\n\nBuild the image and run container.\n\n``` bash\nnpm run docker-up\n```\n\nBuild the image and run container for local debugging.\n\n``` bash\nnpm run docker-up-debug\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnpapa%2Fvue-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnpapa%2Fvue-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnpapa%2Fvue-typescript/lists"}