2.3 KiB
2.3 KiB
Aseret Bank - Full System Platform
A comprehensive full-stack banking platform for Aseret (CFL-licensed lender) including frontend website, core banking system, CRM, ERP, transaction processing, loan origination orchestration, and CFL-compliant tokenized services.
Technology Stack
- Frontend: Next.js 14+ (React) with TypeScript
- Backend: Node.js with Express and TypeScript
- Database: PostgreSQL with Prisma ORM
- Blockchain: Tokenization layer (Ethereum, Polygon, or private chain)
- Authentication: JWT with RBAC
- API: RESTful APIs with OpenAPI documentation
Project Structure
Aseret_Bank/
├── frontend/ # Next.js application
├── backend/ # Express API server
├── shared/ # Shared TypeScript types
├── contracts/ # Smart contracts (Solidity)
└── docs/ # Documentation
Getting Started
Prerequisites
- Node.js 18+ and npm/yarn
- PostgreSQL 14+
- Docker and Docker Compose (for local development)
- Redis (for caching and sessions)
Prerequisites
- Node.js 18+
- pnpm 8+ (
npm install -g pnpm) - Docker and Docker Compose (for local development)
- PostgreSQL 14+ (or use Docker)
- Redis (or use Docker)
Installation
- Clone the repository
- Copy
.env.exampleto.envand configure - Install dependencies:
pnpm install - Start Docker services (PostgreSQL and Redis):
pnpm docker:up - Generate Prisma client:
pnpm db:generate - Run database migrations:
pnpm db:migrate - (Optional) Seed the database:
pnpm db:seed - Start development servers:
# Both backend and frontend pnpm dev # Or separately: pnpm dev:backend # Backend only (port 3001) pnpm dev:frontend # Frontend only (port 3000)
Available Scripts
pnpm dev- Start both backend and frontend in development modepnpm build- Build both backend and frontend for productionpnpm db:migrate- Run database migrationspnpm db:generate- Generate Prisma clientpnpm db:studio- Open Prisma Studiopnpm docker:up- Start Docker servicespnpm docker:down- Stop Docker services
Development Phases
See the plan document for detailed phase breakdown.
License
Proprietary - Aseret Bank