Awesome Serverless Api

screenshot of Awesome Serverless Api

AWS Serverless API powered by Nestjs

Overview

If you're looking to kickstart a TypeScript project using the AWS Cloud Development Kit (CDK), this blank project template offers a solid foundation. It's designed specifically for TypeScript development and includes helpful configurations to streamline your workflow. The included cdk.json file serves as a guide for the CDK Toolkit, providing essential instructions on how to run your application effectively.

With a set of powerful commands at your disposal, you'll find it easy to compile, test, and deploy your application—making it a great choice for both beginners and seasoned developers looking to leverage the power of AWS infrastructure through code.

Features

  • Easy Setup: A straightforward template tailored for TypeScript development modernizes your workflow right from the start.
  • Build Command: npm run build compiles your TypeScript code to JavaScript, ensuring compatibility and efficiency.
  • Hot Reload with Watch: Use npm run watch to automatically compile your code whenever changes are detected—keeping your development smooth and seamless.
  • Testing Integration: Execute npm run test to run Jest unit tests, allowing for immediate feedback on your project’s reliability and functionality.
  • Deployment Made Simple: The command cdk deploy facilitates easy deployment of your stack to the specified AWS account and region, making rollout hassle-free.
  • State Comparison: cdk diff helps you compare your deployed stack with its current state—great for assessing changes before implementation.
  • CloudFormation Synthesis: By running cdk synth, you can generate a CloudFormation template from your application, allowing for a clear vision of your infrastructure as code.
typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.