JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

[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.

    本栏目推荐文章
  • A connection was successfully established with the server but then an error
  • mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; ERROR 1410 (42000): You are not allowed to create a user with GRANT
  • org.springframework.kafka.listener.ListenerExecutionFailedException: Listener method could not be invoked with the incoming message
  • Dynamics 365 Finance & Operations with Power Automate
  • CDS Virtual Entities with Dynamics 365 Finance and Operations
  • [LeetCode] 2085. Count Common Words With One Occurrence
  • 【LeetCode 1635. Hopper 公司查询 I】with recursive生成2020年每月的最后一天
  • ubuntu20.04 opencv 4.2 + opencv_contrib 4.2.0 安装笔记 和 opencv 4.5.4 with cuda 安装笔记
  • how to work with FlatBuffers
  • dlv调试时访问不可达函数报错please use a line with a statement
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们