mhshahzad/lambda-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A project for deploying AWS Lambda functions using TypeScript and JavaScript.

  • Written in TypeScript and JavaScript
  • Easy deployment of AWS Lambda functions
  • Managed with npm
  • Supports environment-specific configurations
  • Includes automated build and deployment scripts
  • Node.js (v14 or higher recommended)
  • npm
  • AWS CLI configured with appropriate credentials
  • An AWS account with permissions to deploy Lambda functions

Clone the repository and install dependencies:

git clone [email protected]:mhshahzad/lambda-deploy.git
cd lambda-deploy
npm install

Create a .env file in the root directory to specify environment variables:

AWS_SECRET_ACCESS_KEY=your-secret-access-key
AWS_REGION=your-region

To compile the TypeScript code:

npm run build

To deploy a Lambda function, run:

npm run deploy

You can specify the function name and other parameters in the deploy script located in package.json.

To execute tests:

npm test
src/ - Source code for Lambda functions
dist/ - Compiled output
tests/ - Unit and integration tests
package.json - Project configuration and scripts
.env - Environment variables for AWS credentials
README.md - Project documentation

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Commit your changes with clear and concise messages.
  4. Push your branch and create a pull request.

This project is licensed under the MIT License.

For questions or support, please contact at [email protected]

About

lambda-deploy: Simplify AWS Lambda deployments with TypeScript. Manage, configure, and deploy Lambda functions effortlessly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published