[AWS] Create a serverless API with Ampt and TypeScript

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.

posted @ 2023-11-24 02:04  Zhentiw  阅读(8)  评论(0编辑  收藏  举报