This is from Building a secure note sharing service in Go and source code from https://github.com/dustinmoris/self-destruct-notes
You will need to install Go and Docker to run this project.
Use docker to start up a Redis instance locally:
make docker-start-redis
Then run the backend web service directly:
make run
Then the app can be viewed at http://localhost:3000/
Or alternately, you can compile and run as a self-contained binary (HTML templates will be embedded inside the bundled package):
make build
./self-destruct-notes
To connect to Redis directly (outside this webapp), you can use the Redis CLI via docker:
docker run -it redis redis-cli -h host.docker.internal
Then you can run commands to inspect the data, like the following will select the "1" database, list all keys, then get the value stored in one of them:
SELECT 1
KEYS *
GET "note-id-123"