Welcome to the Tech by Design Polyglot Prime repository! This repository is the central hub for all bespoke code managed by Technology By Design (Tech by Design). Our goal is to maintain a well-organized, scalable, and efficient monorepo that supports our diverse range of projects and technologies.
At Tech by Design, we focus on the following primary languages and frameworks for our enterprise and utility projects:
Inspired by the practices at Microsoft, Google, and other large software companies, we have designed our monorepo strategy to facilitate collaboration, maintainability, and scalability. Here are the key aspects of our strategy:
.
├── hub-prime
│ ├── lib
│ ├── src
│ │ ├── main
│ │ │ ├── java
│ │ │ │ └── org
│ │ │ │ └── Tech by Design
│ │ │ │ ├── conf
│ │ │ │ ├── orchestrate
│ │ │ │ │ ├── fhir
│ │ │ │ │ └── sftp
│ │ │ │ ├── service
│ │ │ │ │ └── http
│ │ │ │ │ ├── filter
│ │ │ │ │ └── hub
│ │ │ │ ├── udi
│ │ │ │ └── util
│ │ │ └── resources
│ │ │ ├── META-INF
│ │ │ ├── public
│ │ │ └── templates
│ │ │ ├── fragments
│ │ │ ├── layout
│ │ │ ├── login
│ │ │ ├── mock
│ │ │ │ └── shinny-data-lake
│ │ │ │ └── 1115-validate
│ │ │ └── page
│ │ │ └── interactions
│ │ ├── site
│ │ │ └── markdown
│ │ └── test
│ │ └── java
│ │ └── org
│ │ └── Tech by Design
│ │ ├── orchestrate
│ │ │ └── fhir
│ │ ├── service
│ │ │ └── http
│ │ │ └── hub
│ │ └── util
│ └── target
|
└── udi-prime
├── lib
├── src
│ ├── main
│ │ └── postgres
│ │ └── ingestion-center
│ └── test
│ └── postgres
│ └── ingestion-center
├── support
│ └── jooq
│ └── lib
└── target
The hub-prime
project is a Java Spring Boot application which serves FHIR API
endpoints.
To set up the Tech by Design Hub
project, follow these steps:
Clone the Repository:
git clone https://github.com/tech-by-design/polyglot-prime.git
cd polyglot-prime
direnv allow # apply the env vars
cp .envrc.example .envrc # assume the use of direnv
vi .envrc # make sure to store secrets in ENV or Vault, not in Git
cd hub-prime
Build the Project:
mvn clean install
Run the Application:
mvn spring-boot:run
Access the Application: Open your browser and navigate to
http://localhost:8080
.
lib
: Contains reusable utility functions and classes that can be used across
different projects.support
contains all work products that support the above but do not make
their way into production