{"id":21878855,"url":"https://github.com/moduscreateorg/vue-lambda","last_synced_at":"2025-09-11T02:11:18.592Z","repository":{"id":143422381,"uuid":"175632934","full_name":"ModusCreateOrg/vue-lambda","owner":"ModusCreateOrg","description":"VueConf lightning talk","archived":false,"fork":false,"pushed_at":"2023-07-08T00:04:31.000Z","size":479,"stargazers_count":6,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T04:42:41.135Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ModusCreateOrg.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,"zenodo":null}},"created_at":"2019-03-14T13:58:03.000Z","updated_at":"2020-04-04T15:51:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2e681f5-045d-42d8-b0a6-ed328ea2c634","html_url":"https://github.com/ModusCreateOrg/vue-lambda","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ModusCreateOrg/vue-lambda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModusCreateOrg%2Fvue-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModusCreateOrg%2Fvue-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModusCreateOrg%2Fvue-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModusCreateOrg%2Fvue-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ModusCreateOrg","download_url":"https://codeload.github.com/ModusCreateOrg/vue-lambda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModusCreateOrg%2Fvue-lambda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274564508,"owners_count":25308601,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-28T08:13:56.722Z","updated_at":"2025-09-11T02:11:18.580Z","avatar_url":"https://github.com/ModusCreateOrg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue Lambda\n\n## Installation\n\n1.  Install [git](https://git-scm.com \"Git\")\n\n    - Recommended installation notes:\n      - Linux: install via a native package management tool, e.g. [apt](https://help.ubuntu.com/lts/serverguide/apt.html.en \"Advanced Packaging Tool\")\n      - MacOS: install via [Xcode](https://developer.apple.com/xcode/ \"Xcode\") command line tools (`$ xcode-select --install`) or install [Xcode](https://developer.apple.com/xcode/ \"Xcode\") (via the [Mac App Store](https://developer.apple.com/app-store/mac/ \"Mac App Store\"))\n      - Windows: install via a [Bash](https://www.gnu.org/software/bash/ \"Bash\")-like environment, e.g. [Git for Windows](https://gitforwindows.org \"Git for Windows\")\n    - Confirm installation via the following command: `$ git --version`\n\n2.  Install [Docker](https://docs.docker.com/install/ \"Docker Installation Guide\")\n\n3.  [Create a global .gitignore](https://help.github.com/articles/ignoring-files/#create-a-global-gitignore \"How to create a global .gitignore\")\n\n    - Note: It is bad practice to include operating system and IDE lines in a project's .gitignore _unless they are required by the project_. This project does not require a specific operating system nor IDE so ensure your global .gitignore includes lines for all files relevant to your [operating system(s) and IDE(s)](https://github.com/github/gitignore \"GitHub example .gitignore files\")\n\n4.  Clone the repository\n\n```bash\n$ git clone git@github.com:ModusCreateOrg/vue-lambda.git\n```\n\n5. Change your current directory to the local clone of the repository\n\n```bash\n$ cd vue-lambda\n```\n\n6. Build the Docker image (see below)\n7. Install dependencies (see below)\n8. Deploy Support CloudFormation Stack (see below)\n9. (If forked: ) Integrate [Travis](https://travis-ci.org/ \"Travis\") with repository to build automagically Branch CloudFormation Stack\n   - You must add the following environment variables to the [Travis](https://travis-ci.org/ \"Travis\") build configuration:\n     - AWS_DEFAULT_REGION\n     - AWS_ACCESS_KEY_ID\n     - AWS_SECRET_ACCESS_KEY\n10. If you're testing with Lighthouse, do it on the fallback route: `/pwa`\n\n## Getting Started\n\n### Build the Docker image\n\n- Build the [Docker](https://www.docker.com/ \"Docker\") image\n\n```bash\n$ docker build -t vue-lambda .\n```\n\n### Run a command on the Docker image\n\n- Run commands via the [Docker](https://www.docker.com/ \"Docker\") image\n\n```bash\n$ docker run --mount src=\"$(pwd)\",target=/opt/vue-lambda,type=bind vue-lambda COMMAND\n```\n\n#### Install dependencies\n\n- Install [npm](https://www.npmjs.com \"Npm\") dependencies\n\n- Note: `unsafe-perm` is used so that iltorb can successfully install a pre-compiled binary for compression (rather than building one during `install`)\n\n```bash\n$ docker run --mount src=\"$(pwd)\",target=/opt/vue-lambda,type=bind vue-lambda npm install --unsafe-perm\n```\n\n#### Start\n\n- Start the development server. You can access the website at: `http://localhost`\n\n```bash\n$ docker run --mount src=\"$(pwd)\",target=/opt/vue-lambda,type=bind -p 80:80 vue-lambda\n```\n\n#### Lint\n\n- Lint files using [ESLint](https://eslint.org \"ESLint\"), [stylelint](https://stylelint.io \"Stylelint\") and [Prettier](https://prettier.io \"Prettier\")\n\n  - Note: It is strongly recommended to incorporate [ESLint](https://eslint.org \"ESLint\"), [stylelint](https://stylelint.io \"Stylelint\"), [Prettier](https://prettier.io \"Prettier\") and [EditorConfig](https://editorconfig.org \"EditorConfig\") into your IDE's syntax checking, highlighting and `on save` event\n\n- Check for errors via:\n\n```bash\n$ docker run --mount src=\"$(pwd)\",target=/opt/vue-lambda,type=bind vue-lambda npm run lint\n```\n\n- Automagically fix any automagically-fixable errors via:\n\n```bash\n$ docker run --mount src=\"$(pwd)\",target=/opt/vue-lambda,type=bind vue-lambda npm run lint-fix\n```\n\n- Check if any configuration rules conflict with [Prettier](https://prettier.io \"Prettier\") via:\n\n```bash\n$ docker run --mount src=\"$(pwd)\",target=/opt/vue-lambda,type=bind vue-lambda npm run lint-check-rules\n```\n\n#### Test\n\n- Test files via unit and snapshot test using [Jest](https://jestjs.io/ \"Jest\")\n\n```bash\n$ docker run --mount src=\"$(pwd)\",target=/opt/vue-lambda,type=bind vue-lambda npm run test:unit\n```\n\n#### Interactive\n\n- Run [Docker](https://www.docker.com/ \"Docker\") in interactive mode\n\n```bash\n$ docker run --mount src=\"$(pwd)\",target=/opt/vue-lambda,type=bind -it vue-lambda /bin/bash\n```\n\n## DevOps\n\n### Deploy Support CloudFormation Stack\n\n- Deploy the support [CloudFormation](https://aws.amazon.com/cloudformation/ \"CloudFormation\") stack\n\n  - Note: AWS CLI configuration files must exist on your host machine at `~/.aws`\n  - Note: You must use unique values for `\u003cS3_BUCKET_NAME_ARTIFACTS\u003e` and `\u003cS3_BUCKET_NAME_STATIC\u003e`\n\n```bash\n$ docker run --mount src=\"$(pwd)\",target=/opt/vue-lambda,type=bind --mount src=\"$(cd ~/.aws \u0026\u0026 pwd)\",target=/root/.aws,type=bind -e STACK_NAME=\"vue-lambda-support\" -e S3_BUCKET_NAME_ARTIFACTS=\"\u003cS3_BUCKET_NAME_ARTIFACTS\u003e\" -e S3_BUCKET_NAME_STATIC=\"\u003cS3_BUCKET_NAME_STATIC\u003e\" vue-lambda bash ./bin/deploy-support.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoduscreateorg%2Fvue-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoduscreateorg%2Fvue-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoduscreateorg%2Fvue-lambda/lists"}