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.1Yarn:
1.22.17
🛠️ Installation
Clone and navigate to the project:
Create your environment file:
Set up GitHub token for private packages:
We use a custom private package for our AA Design System. You will need a classic GitHub personal access token.
Generate one here → Generate new token (classic)
Export the token:
If you encounter permission issues, contact the lead developer with your GitHub account ID/email.
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
main → Development
develop → Internal testing (Preview link)
staging → Client demos (Demo link)
production → Live environment (Live app)
Development & Push Process
Start the app:
Run tests:
Build project:
Commit with gitmoji (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
componentsfolder 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
🔗 Useful Links
📜 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