Write to the cache with the DB and a listener instead of your API, improving latency for your client
- set up your env
make env
- run the containers for Postgres and Redis
make up
- run the app
make run
- do an insert
make one
The above command will insert a record into the Postgres DB and print the value of the key set in the cache You can also open a postgres client and insert yourself.
make test
make e2e