LifePass App

This repository contains the frontend codebase for the AuthentifyIT Life Pass Application.

🚀 Tech Stack

This project leverages the following technologies and tools:

  • Next.js – Server-side rendering & routing

  • React – User interface building

  • TypeScript – Type checking

  • Tailwind CSS – Styling

  • Yarn – Package manager

  • Jest & Playwright – Testing framework

  • AA Design System – UI components

  • ESLint & Prettier – Linting and formatting

  • Mapbox GL – Maps integration

  • Stripe – Payment processing

  • Storybook – UI documentation

  • Three.js & React Three Fiber – 3D graphics

  • React Query – Data fetching & caching

  • And additional supporting libraries


📦 Prerequisites

Make sure you are using the recommended versions:

  • Node.js: 21.7.1

  • Yarn: 1.22.17


🛠️ Installation

  1. Clone and navigate to the project:

  2. Create your environment file:

  3. Set up GitHub token for private packages:

    We use a custom private package for our AA Design Systemarrow-up-right. You will need a classic GitHub personal access token.

    If you encounter permission issues, contact the lead developer with your GitHub account ID/email.

  4. Install dependencies:


⚙️ Initial Configuration

  • Start Storybook for UI documentation:

  • Run linting:


👨‍💻 Development Workflow

Branch Naming Rules

  • Features: feature/[ticket_id]_[short_description]

  • Fixes/Hotfixes: fix/[ticket_id]_[short_description]

Branch Structure

Development & Push Process

  1. Start the app:

  2. Run tests:

  3. Build project:

  4. Commit with gitmojiarrow-up-right (recommended):


📂 Project Structure

All filenames are lowercase and use - as a separator.

Folders Explained

/src/components

  • UI-specific components (no business logic)

  • Each component has its own folder

/src/components/aa-design-system

  • Wrappers for the design system components

  • Mirrors the components folder structure

/src/modules

  • Page and business logic

  • Contains application and domain layers

/src/modules/[module]/application

  • *.container.tsx → Data management

  • *.view.tsx → Presentation logic

/src/modules/[module]/domain

  • *.mapper.ts → API ↔ Frontend mapping

  • *.api.ts → API calls

  • *.mutation.ts → React Query mutations



📜 License

This project is proprietary and confidential. Unauthorized copying, modification, or distribution of any part of this software is strictly prohibited without prior written permission from AuthentifyIT.

Last updated