Event driven archictecture sample
Windows
Install with scoop
scoop bucket add nitric https://github.com/nitrictech/scoop-bucket.git
scoop install nitric
Linux
Download as a scripted install via curl.
curl https://nitric.io/install | bash
Note: Complete installation guide can be found here
mv .env-template .env
AWS_SES_REGION="us-east-1"
AWS_SES_ACCESS_KEY_ID="..."
AWS_SES_SECRET_ACCESS_KEY="..."
SENDER_EMAIL="..."
Note: You'll need to whitelist these emails with amazon to send emails
yarn install
nitric run
curl --location --request POST 'http://127.0.0.1:9001/apis/public/customers' \
--header 'Content-Type: text/plain' \
--data-raw '{
"firstname": "Test",
"lastname": "User",
"email" : "[email protected]"
}'
Explore the Nitric framework to learn how to deploy to the cloud and much more.