[AWS] Create a serverless API with Ampt and TypeScript

发布时间 2023-11-24 02:06:19作者: Zhentiw

Ampt lets developers rapidly build, deploy, and scale JavaScript/TypeScript apps in the cloud without complicated configs or managing infrastructure.

 

1. Install

npm i -g @ampt/cli

 

2. Create a new project

mkdir new-project-name

cd new-project-name

ampt

 

When you change the code and save, the code will automaticlly deploy to AWS and you can use the endpoint it generates to serves as an backend.