Access Finland apps and shared components.
This Turborepo includes the following packages/apps:
af-features
: a Next.js app. Access Finland "demo app" that contains experimental features.af-mvp
: another Next.js app. Access Finland MVP app for the VF project, production.af-shared
: React components and utils shared by bothaf-features
andaf-mvp
applications.tailwind-config
: shared taildwind configseslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monorepo
This Turborepo has some additional tools already setup for you:
- Tailwind CSS for styles
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
Install, and run both apps simultaneously
npm install && npm run dev
Or run apps separately
npm run dev:features
npm run dev:mvp
The following network must be created: vfd-network
.
Create the network with command:
docker network create vfd-network
Run both apps in docker
docker compose up
Run af-mvp separately
docker compose -f docker-compose.mvp-dev.yml up
af-featues
can be accessed at http://localhost:3005
af-mvp
can be accessed at http://localhost:3006
The local development uses a live AWS environment for the virtualfinland authentication service. Read more from ./docs/README.af-mvp.vf-authentication.md on how to set up the local development environment.