This is a experiment to try a simple serverless event sourcing API on AWS using Mongo as DB with a RemixJs frontend. Agrregate is updated after each event
The stack is managed using SST
Pre-requisite (as far I can remember :))
- Mongo Atlas account (https://www.mongodb.com/)
- Node.js 16 or later (https://nodejs.org/)
- AWS CLI (https://aws.amazon.com/cli/)
brew install awscli
aws configure
Stack
- APIs: API Gateway
- Frontend: RemixJs
- Database: Mongo on Atlas
Env vars to set: (see .env.local.example
)
MONGODB_URI