No description
| bruno/CodeSnippets | ||
| old_snippets | ||
| src/snippets | ||
| test | ||
| .dockerignore | ||
| .gitignore | ||
| build.clj | ||
| build.sh | ||
| cljfmt-indents.edn | ||
| deps.edn | ||
| Dockerfile | ||
| LICENSE.md | ||
| README.md | ||
| server-setup.sh | ||
Code Snippets
Backend application to store my code snippets and make them available via REST API.
This project is written in Clojure and data is stored in XTDB.
Links
Dev
How to run dev server
$ clojure -M -m snippets.infra.api
How to create docker image
At this point I'm using a private AWS ECR repository for the project and deploying it in my homelab.
$ export AWS_PROFILE=personal
$ docker buildx build --platform linux/amd64,linux/arm64 -t 853019563312.dkr.ecr.eu-central-1.amazonaws.com/snippets-homelabstack:latest --push .