Files
LexiChain/docs
2026-05-13 21:08:27 +01:00
..
2026-05-13 21:08:27 +01:00
2026-05-13 21:08:27 +01:00
2026-05-13 21:08:27 +01:00
2026-05-13 21:08:27 +01:00
2026-05-13 21:08:27 +01:00
2026-05-13 21:08:27 +01:00
2026-05-13 21:08:27 +01:00

LexiChain — Documentation

Version: 1.0.0 · Stack: Next.js 16 · React 19 · TypeScript · PostgreSQL · Solidity

Welcome to the LexiChain documentation. This folder contains everything needed to understand, develop, and deploy the platform.


Table of Contents

Document Description
01 — Project Overview What LexiChain is, its features, architecture, and user flows
02 — Services Reference Every internal service: AI, Blockchain, Email, Notifications, RAG, etc.
03 — Database Schema Full Prisma schema, models, relationships, and index rationale
04 — API Reference All Next.js route handlers and key server actions
05 — Smart Contract DocumentRegistry.sol: design, functions, ABI, deployment
06 — Deployment Guide Step-by-step OpenStack VPS deployment with Docker, Nginx, and Sepolia

Quick Start (Development)

# 1. Install dependencies (auto-generates Prisma client via postinstall)
npm install

# 2. Copy and fill environment variables
cp .env.example .env

# 3. Run database migrations
npx prisma migrate dev

# 4. Start development server (includes local Hardhat blockchain)
npm run dev

The dev server starts at http://localhost:3000.
The local Hardhat blockchain starts at http://localhost:8545.