Proof of concept monorepo to support all purchase journey related projects.
Raccoons can eat just about anything, making them ideal urban dwellers. They love big city life! Today there are 20 times more of them in cities compared to 70 years ago. They can now be found across the globe.
- Install
nvm
https://github.com/creationix/nvm nvm install
(installs the node version specified in.nvmrc
)nvm use
(use version from.nvmrc
)
We use yarn
as package manager. Corepack installs the specified version defined in package.json
so you do not need to install it yourself.
git clone https://github.com/HedvigInsurance/racoon
cd racoon
nvm use
yarn
Ask someone from the Purchase Journey team to help you out :)
If you're already part of the Vercel-team you can run:
vercel --scope hedvig link --project hedvig-dot-com --yes
vercel env pull apps/store/.env.local
yarn dev
Open http://localhost:3000 with your browser to see the result.
For deployment, pulling translations, using CMS, etc you will need access tokens. Refer to Notion for setup details
yarn dev --filter=store
Read more about package filtering in turboreo here.
This Turborepo includes the following packages and apps:
store
: Hedvig Coverage Storeui
: Hedvig React UI libraryscripts
: ESLint configurationstsconfig
: TypeScript configs used throughout the monorepo
Each package and app is 100% Typescript.
Below is an up-to-date visualization of the files and folders that make up the repository:
The setup is based on the Turborepo kitchen-sink
template.