Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Latest commit

 

History

History
51 lines (35 loc) · 1.05 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.05 KB

Serverless AWS Lambda Template Project

This is a simple Node.js AWS Lambda project deployed using the Serverless Framework. It provides a basic function as a starting point for your serverless applications.

Prerequisites

Before you begin, make sure you have the following prerequisites installed:

Setup

  1. Configure AWS CLI with your AWS credentials:

    aws configure
  2. Install Serverless Framework:

    npm install -g serverless
  3. Install project Serverless dependencies:

    npm install
  4. Deploy the project to AWS Lambda:

    npm run deploy

Usage

  1. To invoke the deployed Lambda function, use the following command:
    npm run invoke

Clean Up

  1. To remove the deployed resources from AWS, you can use the following command:
    npm run remove