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-featuresandaf-mvpapplications.tailwind-config: shared taildwind configseslint-config-custom:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)tsconfig:tsconfig.jsons 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 devOr run apps separately
npm run dev:featuresnpm run dev:mvpThe following network must be created: vfd-network.
Create the network with command:
docker network create vfd-networkRun both apps in docker
docker compose upRun af-mvp separately
docker compose -f docker-compose.mvp-dev.yml upaf-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.