Skip to content

nljms/ssia

Repository files navigation

ServerlessStack

SSiA (Serverless Stack in Action) ssia

A demo application for a CRUD application using serverless stack, and electrodb.

Project structure

I introduced a new package, which is inside the packages folder, wherein the dynamo and electrodb configuration is abstracted away to the services.

├── README.md
├── package.json
├── packages # directory of packages that can be added along in the future
│ └── database
│ ├── common
│ │ ├── clients.ts
│ │ ├── constants.ts
│ │ ├── index.ts
│ │ └── interfaces.ts
│ ├── index.ts
│ ├── package.json # package name defined (@sstia/ddb)
│ ├── schemas
│ │ ├── index.ts
│ │ ├── players.ts
│ │ └── teams.ts
│ └── storages
│ ├── PlayerStorage.ts
│ ├── TeamStorage.ts
│ └── index.ts
├── services
│ ├── functions
│ │ ├── create.ts
│ │ ├── get.ts
│ │ ├── list.ts
│ │ └── update.ts
│ ├── package.json
│ ├── test
│ │ └── sample.test.ts
│ └── tsconfig.json
├── sst.json
├── stacks
│ ├── MyStack.ts
│ └── index.ts
├── tsconfig.json
├── vitest.config.ts
└── yarn.lock

If you wanted to learn more about creating or transitioning into monorepo, you can read about Yarn workspaces

About

A project to demonstrate how to use the serverless stack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published