Git Product home page Git Product logo

vuetestingsuite's Introduction

Vue Testing Suite

Vue Testing Suite enables a user to create an AWS Lambda function with Vue testing abilities.


AWS Lambda Function

AWS Lambda Function Configuration details -

- Value
Function name vueTestingSuite
Runtime Node.js 10.x
Execution role lambda_basic_execution role
Memory (MB) 1024 MB
Timeout 40 sec
Trigger API Gateway

Deployment

This repository supports auto-deployment of the lambda function on every push to this project using GitHub Actions.

Prerequisite -

  1. Create an AWS S3 bucket with permissions to access objects publically.

    Here's an example S3 bucket with the required permissions - S3 bucket policy

Steps to deploy -

  1. Fork the repository and clone the contents

    git clone https://github.com/<your-username>/vueTestingSuite
  2. Navigate to Repository settings on the GitHub console > Click on secrets

  3. Add the following secret key value pairs -

    AWS_ACCESS_KEY_ID = # AWS users credential details
    AWS_SECRET_ACCESS_KEY = # AWS users credential details
    AWS_SESSION_TOKEN = # AWS Educate users credential details
    BUCKET_NAME = # S3 Bucket name where objects can be publically accessible

    The following Github secrets must be created - Github Secrets

  4. Make changes to your Lambda function code in the src directory. Commit and push

    git add .
    git commit -m "Update changes"
    git push
  5. On push, GitHub Action is trigerred and the status of the deployments can be viewed under the actions tab. Github Secrets


Note: For AWS Educate Users, users credentials expire and will have to be overwritten in the project secrets settings on github in case of expiry before an update.

AWS Educate user credentials - AWS Educate credentials

vuetestingsuite's People

Contributors

aishwarya26l avatar jitsheng avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.