Pharmacy finder is a small web app that allows trans and non-binary people to find pharmacies that have been generally accepting towards Imago and GenderGP prescriptions
- HTML 87.6%
- Go 6.4%
- Svelte 5%
- TypeScript 0.7%
| api/v1/pharmacies | ||
| bg | ||
| cmd/pharmafinder | ||
| db | ||
| deploy | ||
| frontend | ||
| service | ||
| types | ||
| utils | ||
| web | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| Dockerfile.dev | ||
| embed.go | ||
| go.mod | ||
| go.sum | ||
| Makefile | ||
| README.md | ||
| run-db.sh | ||
| server.go | ||
Pharmacy finder
Pharmacy finder helps Estonian trans and non-binary people to find pharmacies that have a good track record of accepting prescriptions from Imago and GenderGP.
Build and deployment
Pharmacy finder is best used with docker. Before building the image, you will need to create keys for reCaptcha v2. Due to the nature of the project, the sitekey will get built into the executable and thus, it needs to be passed to docker build as a build argument.
$ docker build --build-arg RECAPTCHA_SITE_KEY=<mykey> -t pharmafinder .
When running the container, the server listens on port 8080. Additionally you will need to pass environment variables into your docker container (see deploy/.env.sample for more information)