Project Structure
This section describes the directory structure of the main Ambrosia POS repository, a comprehensive system for restaurants and retail with Bitcoin integration.
ambrosia/
βββ .github/ # CI/CD Workflows (Linter, Tests, E2E)
βββ client/ # Next.js Frontend (React 19, Tailwind CSS)
β βββ __tests__/ # Client unit tests
β βββ public/ # Static assets (SVG, images)
β βββ src/ # Frontend source code
β βββ app/ # Next.js App Router (pages and layouts)
β βββ components/ # Reusable React components
β βββ hooks/ # Custom React Hooks
β βββ i18n/ # Internationalization configuration
β βββ lib/ # Shared libraries and configurations
β βββ modules/ # App-specific modules
β βββ services/ # Services for API calls
βββ doc/ # Additional documentation (installation, proposal)
βββ electron/ # Desktop wrapper for the application
β βββ scripts/ # Build scripts for different platforms
β βββ services/ # System-side logic (Backend, Phoenixd)
β βββ utils/ # Health utilities and port management
βββ imgs/ # Visual assets and project icons
βββ scripts/ # Utility scripts (install, uninstall, run)
βββ server/ # Kotlin Backend (Ktor Framework)
β βββ app/ # Main server application
β β βββ src/ # Source code (Kotlin/Java)
β βββ e2e_tests_py/ # End-to-End tests in Python (Pytest)
β βββ gradle/ # Gradle Wrapper configuration
βββ docker-compose.yml # Service orchestration (Server, Client, Phoenixd)
βββ Makefile # Task automation for build and execution
βββ README.md # Main project documentation
Main Repository
You can find the full source code in our official GitHub repository.