Skip to content

Boilerplate repository to showcase me (and others) my current way of building an AWS baked backend

Notifications You must be signed in to change notification settings

MaiKaY/todo-backend

Repository files navigation

What is it?

Boilerplate repository to showcase me (and others) my current way of building an AWS baked backend.

Why am I doing it?

I can't really remember how I wrote code several years ago and why I did things in a certain way. With this repository I would like to capture all my (new) learnings in one central (or two?) place. I selected a simple theme "Todo list" to keep the scope as small as possible.

What am I using?

Clean Architecture

[...] Nothing in an inner circle can know anything at all about something in an outer circle. In particular, the name of something declared in an outer circle must not be mentioned by the code in the an inner circle. [...] > read full article

0.shared

Holds functionality which could be used across all layers.

1.domain

Holds the domain (behavior) logic of the application.

2.application

Holds the application use cases, how to interact with the application.

3.infrastructure

Holds the concrete implementation which are defined either in 1.domain or 2.application.

4.bin

Holds the entry points to the application.

5.cdk

Holds the definition of the AWS infrastructure.

Event Sourcing

[...] Event Sourcing ensures that all changes to application state are stored as a sequence of events. [...] read full article

Snapshotting

It's not part of the code, yet. As soon as it's available I will add a small description here.

Infrastructure as Code

From the fully automated CI/CD pipeline to the whole AWS infrastructure everything is written as code to have full visibility and reproducibility of the used infrastructure. Thanks to AWS CDK!

Linting

No one likes conflicts in code styles. No. One. Therefore I use (hopefully) the right mixture of three different tools and ensure they are applied even before hitting the repository (at least if the git hooks are not deactivated on purpose accidentally).

What am I interested in?

  • using CQRS (Command Query Responsibility Segregation)
  • tell me!

About

Boilerplate repository to showcase me (and others) my current way of building an AWS baked backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published