This collection is a basic list of prescribed items to think about setting up websites in AWS in a cost-effective way. We will use a serverless stack and it can be for any node-based website.
PM at Microsoft by Day. Indie Developer at Night.
This collection is a basic list of prescribed items to think about setting up websites in AWS in a cost-effective way. We will use a serverless stack and it can be for any node-based website.
CI/CD means that from the moment your code hits a branch in Github, your code is deployed, built and available to your users. AWS Amplify is super easy and inexpensive way to build, deploy and host your content.
Contains screenshots showing how to connect your branch and run the code that builds
An API serves the data we need. It serves an intermediary between our website and all of the databases and other services we need to use. For example, we might want to use Stripe, but we don't want to call it directly from our website because it's not secure enough, so we need some backend layer that can do it securely away from the client.
This is just a basic example using Express JS + Node to build an Web API. If you have never built an API, this is helpful so you can have an API locally and know how they work. Know that APIs are made up of routes.
This guide will help you build your own api. It will teach you the basics of hooking up API Gateway and Lambda. A good way to think about is that Lambda is just some code that runs when you hit that route.