Memetroplis ProductionGuideReference

12. Technical Stack - High Level

Backend systems stack

MemeTropolis backend is a modular, API-first, Web3-integrated NestJS application
Interfaces with Ethereum and Solana smart contracts
Uses Prisma ORM for database management
Employs Redis caching, JWT authentication, and NestJS scheduling
Fully testable, monitorable, and production-ready with industry-standard tools.

Layer

Technology

Purpose/Role

Backend Framework

NestJS (@nestjs/*)

Server-side application framework (Node.js TypeScript)

API Layer

REST + GraphQL (Apollo Client)

Dual API interfaces (REST via NestJS, GraphQL via Apollo)

Database ORM

Prisma (@prisma/client)

ORM for database interaction (likely PostgreSQL/MySQL)

Blockchain Clients

Ethers.js, Solana Web3.js, Anchor

Ethereum and Solana smart contract interaction

Authentication

Passport + JWT

User authentication via JSON Web Tokens

Caching Layer

Cache Manager + Redis (cache-manager-redis-store)

Caching responses / sessions

Scheduling

NestJS Schedule (@nestjs/schedule)

Cron jobs / interval jobs

Deployment Ready

Docker (implied), NodeJS runtime

Production-ready output (start:prod)

Testing

Jest, Supertest, ts-jest

Unit, Integration, and E2E testing

Documentation

Swagger (@nestjs/swagger)

Auto-generate API documentation

Configuration Management

dotenv, NestJS Config

Environment variables & config separation

Developer Tools

Husky, ESLint, Prettier

Code formatting, linting, Git hooks

13. Workflow and Communication Flow

How requests/workflows move through the system**