Skip to content

isabella232/create-serverless

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-serverless

Reduce overhead, don't waste your time!

Serverless API

create-serverless api --actions crud --endpoints users

Generates a serverless API with:

  • POST /users, creates a user
  • GET /users, retrieves all users
  • GET /users/{id}, retrieves a single user by id
  • DELETE /users/{id}, delete a single user by id
  • PUT /users/{id}, update a single user by id
  • package.json with npm commands create and deploy

Want to add DynamoDB to your API?

Just add --dynamodb to the api command and it will create a table with the endpoint name

create-serverless api --actions crud --endpoints users --dynamodb creates a DynamoDB table users

Payment (Stripe)

create-serverless payment --stripe

Generates a serverless payment micro service, ready for Stripe Checkout integration with:

  • POST /create-payment, creates a Stripe charge

TODO:

  • multiple endpoints
  • appending new endpoints to existing ones
  • AWS SNS integration,
  • AWS Cognito integration
  • Generate API w/ API GW from Swagger file
  • Generate API w/ API GW from API Blueprint file

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%