In the first part of this series, we did a simple REST API endpoint for creating a blog post. We didn’t save this data into the database and just sent that as a response. In this part, we’ll connect our backend to the database and save the blog post onto it.
We’re going to use DynamoDB as our database. Before jumping right into coding, I’d like to say a few things about the Database since I feel that it can be daunting for people who come from an RDBMS background to jump into a non-relational database like DynamoDB.
In DynamoDB…
Looking back to when I started my serverless journey, I wish I had a concise guide that would help me understand how to write serverless APIs better.
A little bit of a side story, during the final month of our internship when we were deployed on a new project, We had to build a serverless application. At that time I hardly knew anything about serverless or typescript and had to do everything from scratch. This guide is basically for someone who is in a similar situation I was or is just getting started with serverless using typescript.
There are few…