Challenge Lambda - NODEJS with TYPESCRIPT
Use of NodeJS with typescript, Lambda of AWS.
📝 Table of Contents
🧐 About
This project exemplifies the correct use of serverless lambda.
🏁 Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisites
Nodejs v.14 or higher
node --version
Installing
Configure the serverless framework with your AWS credentials before running this project. AWS CREDENTIALS Visit the official documentation
Add project dependencies [PNPM | YARN]
pnpm install
or
yarn install
Run the application in development [Mode-Offline]
pnpm dev
or
serverless offline
Run the application in production
pnpm deploy
or
serverless deploy
🔧 Running the tests
run the tests
pnpm test
or
yarn test
🎈 Usage
To interact with API.
Routes
People
GET http://localhost:3000/dev/people
GET http://localhost:3000/dev/people/:id
POST http://localhost:3000/dev/people
Planets
GET http://localhost:3000/dev/planets
GET http://localhost:3000/dev/planets/:id
POST http://localhost:3000/dev/planets
🚀 Deployment with CI CD
🌅 Production
https://challenge.arthur-quezada.com/v1
⛏️ Built Using
- Serverless Framework - Framework
- Lambda - Lambda AWS
- API Gateway - API Gateway
- CodeBuild AWS - Code Build
- CodePipeline AWS - Code Pipeline
- Route53 AWS - Route53
- NodeJs - Server Environment
✍️ Authors
- @ArthurDev - Idea & Initial work