HerWealth is an AI-powered financial inclusion platform that helps African women build trusted digital financial identities using their everyday financial activities.
# HerWealth
**Financial empowerment platform for women.**
HerWealth is a full-stack monorepo application that helps women track investments, set financial goals, and build wealth with confidence. Built with Next.js, NestJS, Prisma, and PostgreSQL.
---
## Tech Stack
| Layer | Technology |
|-------------|-----------------------------------------------------|
| Frontend | Next.js 14 (App Router), Tailwind CSS, TypeScript |
| Backend | NestJS, Prisma ORM, TypeScript |
| Database | PostgreSQL |
| Monorepo | Turborepo with npm workspaces |
| Validation | Zod (shared across frontend and backend) |
---
## Prerequisites
- **Node.js** >= 20 (use `.nvmrc` — run `nvm use`)
- **PostgreSQL** running locally or a hosted instance
- **npm**
---
## Quick Start
```bash
# 1. Install dependencies
npm install
# 2. Configure environment
cp .env.example .env
# Edit .env with your database credentials
# 3. Generate Prisma client & sync database
npm run db:generate
npm run db:push
# 4. Start development servers
npm run dev
```
| App | URL |
|------|--------------------------------|
| Web |
localhost |
| API |
localhost |
---
## Available Scripts
| Command | Description |
|-----------------------|--------------------------------------|
| `npm run dev` | Start all apps in development mode |
| `npm run build` | Build all apps for production |
| `npm run lint` | Lint all packages |
| `npm run db:push` | Push Prisma schema to database |
| `npm run db:generate` | Generate Prisma client |
| `npm run db:studio` | Open Prisma Studio (DB GUI) |
| `npm run db:migrate` | Run Prisma migrations |
| `npm run clean` | Rem …