Akiba — Mobile-first wealth management platform for Senegal. Micro-investing from 500 FCFA, powered by BCEAO PI-SPI instant payments.
# Akiba
**The first mobile-first wealth management platform that turns every CFA franc into an investment, powered by the BCEAO's instant payment infrastructure.**
Akiba democratizes investing for the 70%+ of Senegalese who use mobile money but have zero access to capital markets. Micro-investing from 500 FCFA (~$0.80), automated portfolio management, goal-based savings, and Sharia-compliant investing — all funded instantly via Wave, Orange Money, or any bank account through PI-SPI.
## Architecture
| Layer | Technology |
|-------|-----------|
| Mobile App | React Native (Expo) + TypeScript |
| Admin Dashboard | Next.js + TailwindCSS |
| Backend API | NestJS + TypeScript |
| Database | PostgreSQL 16 (Prisma ORM) |
| Cache | Redis |
| Message Queue | RabbitMQ |
| CI/CD | GitHub Actions + Docker |
## Monorepo Structure
```
akiba/
├── apps/
│ ├── mobile/ # React Native Expo app (iOS + Android)
│ └── admin/ # Next.js admin dashboard
├── services/
│ └── api/ # NestJS API (12 modules)
├── packages/
│ ├── database/ # Prisma schema + client
│ ├── shared-types/ # TypeScript domain types
│ └── tsconfig/ # Shared TypeScript configs
├── docs/ # Architecture diagrams, design system, API reference
├── docker-compose.yml # Local dev: PostgreSQL, Redis, RabbitMQ
└── .github/workflows/ # CI pipeline
```
## Quick Start
### Prerequisites
- Node.js >= 20
- pnpm >= 10
- Docker + Docker Compose
### Setup
```bash
# Clone
git clone
github.com
cd akiba
# Install dependencies
pnpm install
# Start infrastructure (PostgreSQL, Redis, RabbitMQ)
pnpm docker:up
# Generate Prisma client + run migrations
pnpm db:generate
pnpm db:migrate
# Start all services in dev mode
pnpm dev
```
### Services
| Service | URL |
|---------|-----|
| API Server |
localhost |
| Swagger Docs |
localhost |
| Admin Dashboard |
localhost |
| RabbitMQ Management …