This is a Serverless project that deploys AWS Lambda functions with API Gateway. The project includes a simple "Hello World" function and is configured using the Serverless Framework.
This project is a simple example of how to use the Serverless Framework to deploy AWS Lambda functions and expose them via API Gateway. It demonstrates how to structure Lambda functions, define serverless configurations, and manage deployments.
- Serverless Framework: An open-source framework that simplifies the deployment of serverless applications.
- AWS Lambda: A serverless compute service to run backend functions.
- API Gateway: A fully managed service to create, publish, maintain, monitor, and secure APIs.
- Node.js: JavaScript runtime used for Lambda functions.
- TypeScript: A superset of JavaScript that adds static types.
Make sure you have the following installed:
- Node.js (v14 or higher)
- Yarn
- Serverless Framework (run
npm install -g serverless
)
-
Clone the repository to your local machine:
git clone https://github.com/9309930/ts-monorepo.git
-
Navigate to the project directory:
cd ts-monorepo
-
Install the dependencies:
yarn install
To run the project locally using Serverless Offline, run the following command:
yarn sls offline