Skip to content

Virtual-Finland-Development/access-finland

Repository files navigation

Access Finland monorepo / workspaces (Turborepo)

Access Finland apps and shared components.

What's inside?

This Turborepo includes the following packages/apps:

Apps and Packages

  • 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 both af-features and af-mvp applications.
  • tailwind-config: shared taildwind configs
  • eslint-config-custom: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • tsconfig: tsconfig.jsons used throughout the monorepo

Utilities

This Turborepo has some additional tools already setup for you:

Usage

Install, and run both apps simultaneously

npm install && npm run dev

Or run apps separately

npm run dev:features
npm run dev:mvp

Docker

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

Access Finland MVP local development specific instructions

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.

About

Access Finland monorepo / workspaces

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •