Skip to content

Advanced Fullstack App built on AWS with Frontend on React and Backend with FastAPI on top of AWS API-Gateway, Lambda. IaC on CDK or Terraform.

License

Notifications You must be signed in to change notification settings

san99tiago/aws-fastapi-todo-app

Repository files navigation

🎺 AWS-FASTAPI-TODO-APP 🎺

Advanced TODO App: A Fullstack AWS-Deployed Solution with Decoupled Architecture and Multi-User Capabilities

Video Recording 🎥

Event Pictures 💥

Here are some cool images when hosting the live event for the AWS User Group Medellin:



Overview 🔮


This project was created to show how to easily deploy a Fullstack production-grade application on AWS by:

  • Backend: leveraging one of the fastest Python frameworks in the market, FastAPI, while still gaining the power or AWS serverless tools, such as API-Gateway, Lambda Functions, DynamoDB, Cognito and more!
  • Frontend: using S3 Bucket hosting to enable an static-website user interface on top of React. (Note: for production grade UIs, a DNS+CloudFront+ACM is recommended to be added).

The information of this repository is based on different public online resources, so feel free to use it as a guide for your future projects!.

How to run this project? 🎩

All projects are well commented (even over-commented sometimes for clarity).

The required commands to deploy/destroy the solution can be found at:

Note: please update the commands based on your needs (account, region, etc...)

Infrastructure as Code ☁️

This project offers 2 options for managing the infrastructure:

Both are excellent IaC solutions, but depending on the use-case you can choose one or the other.

Dependencies ✋

The dependencies are explained in detail for each project, but the most important ones are Node, Python and the Infrastructure as Code solution (AWS-CDK or Terraform).

Software dependencies (based on project)

  • Visual Studio Code
    Visual Studio Code is my main code editor for high-level programming. This is not absolutely necessary, but from my experience, it gives us a great performance and outstanding extensions to level-up our software development.

  • NodeJs
    NodeJs is a JavaScript runtime built on Chrome's V8 JavaScript engine programming language. The community is amazing and lets us handle async functionalities in elegant ways. In this case, we need it for the main "CDK" library, that is built on top of NodeJS.

  • Python
    Python is an amazing dynamic programming language that allow us to work fast, with easy and powerful integration with different software solutions. We will use the Python CDK libraries.

Libraries and Package dependencies (depending on the scenario)

  • AWS CLI
    The AWS Command Line Interface (AWS CLI) is a unified tool to manage your AWS services. We will use it for connecting to our AWS account from the terminal (authentication and authorization towards AWS).

  • CDK CLI (Toolkit)
    To work with the CDK, it is important to install the main toolkit as a NodeJs global dependency. Then, feel free to install the specific language AWS-CDK library (for example: aws-cdk.core).

  • Terraform
    Terraform is one of the most important Infrastructure as Code solutions on the market. It is multi-cloud and has a big community for different cloud-based providers.

Special thanks 🎁

  • Thanks to all contributors of the great OpenSource projects that I am using.

Author 🎹

Santiago Garcia Arango

Curious DevOps Engineer passionate about advanced cloud-based solutions and deployments in AWS. I am convinced that today's greatest challenges must be solved by people that love what they do.

LICENSE

Copyright 2024 Santiago Garcia Arango.