Skip to content

oslabs-beta/Airfn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airfn

Airfn is a CLI tool that enables users to easily and quickly serve and deploy their AWS lambda functions to AWS with their existing development environment, increasing developer productivity by abstracting configuration process

How it works

Users (developers) are able to use our CLI to serve functions locally, build functions to optimize speed and performance, and deploy those functions as serverless Lambdas by creating an account on the Airfn Web App and doing the following:

  • User installs our Node.js CLI globally by running npm install -g airfn in terminal.

  • User initializes a configuration file by entering air init in terminal within project directory.

  • User serves functions locally as Lambdas by entering air serve.

CLI spins up an Express server and serves the user’s functions, using the names of the functions as the names of the API endpoints. User can now locally test her Lambdas by sending requests to the endpoints.

  • User builds functions for deployment by entering air build.

CLI processes user's functions to transpile functions source code and any imported Node modules to her chosen Node.js version via Babel.

  • User deploys functions to AWS by entering air deploy.

CLI gets function source code of user's functions that will be used to deploy as Lambdas to AWS and return endpoints.

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published