Just a simple distributed pharmacy system built on top of the microservice architecture
MIT License
This is a Turborepo designed to house all components of the Pharmaceutical project.
.env
at the root of every workspace and fill in the required keys.pnpm install
- Installs all dependencies for all packages/appspnpm build
- Builds all packages/apps using Esbuild. This must be executed before trying to run any of the apps.pnpm dev
- Runs a development server for all apps.pnpm test
- Runs the test suites for all apps.This turborepo has some additional tools already setup for you:
Deployment is handled automatically by GitHub Actions when a commit is pushed to the master branch. The services are containerized and push to the GitHub Package Registry as Docker images. These images are then pulled by an ArgoCD instance running on a Kubernetes cluster and deployed to the cluster. All of the kubernetes manifest required for this process can be found at the following repository. The process of updating these manifests has been automated. The Kubernetes cluster can be on any cloud provider, but this project uses a local one bootstrapped through Docker Desktop.