Add full monorepo: virtual-banker, backend, frontend, docs, scripts, deployment

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
defiQUG
2026-02-10 11:32:49 -08:00
parent aafcd913c2
commit 88bc76da91
815 changed files with 125522 additions and 264 deletions

40
Makefile Normal file
View File

@@ -0,0 +1,40 @@
.PHONY: help install dev build test clean migrate
help:
@echo "Available targets:"
@echo " install - Install dependencies"
@echo " dev - Start development environment"
@echo " build - Build all services"
@echo " test - Run tests"
@echo " clean - Clean build artifacts"
@echo " migrate - Run database migrations"
install:
cd backend && go mod download
cd frontend && npm install
dev:
docker-compose -f deployment/docker-compose.yml up -d postgres elasticsearch redis
@echo "Waiting for services to be ready..."
sleep 5
cd backend && go run database/migrations/migrate.go
@echo "Starting services..."
cd backend/indexer && go run main.go &
cd backend/api/rest && go run main.go &
cd frontend && npm run dev
build:
cd backend && go build ./...
cd frontend && npm run build
test:
cd backend && go test ./...
cd frontend && npm test
clean:
cd backend && go clean ./...
cd frontend && rm -rf .next node_modules
migrate:
cd backend && go run database/migrations/migrate.go