Boogie Neko is a modular, high-performance e-commerce platform architected for scalability and maintainability. It leverages a modern TypeScript stack to ensure type safety across the entire domain, from database schema to frontend client.
This repository operates as a monorepo containing the core services required to run the platform.
The platform is divided into distinct functional zones to ensure separation of concerns:
| Service | Context | Technology Stack | Status |
|---|---|---|---|
| Core API | Backend Service | NestJS, Prisma ORM, PostgreSQL | 🟢 Active |
| Storefront | Client Application | Next.js 14, React Server Components | 🟡 In Progress |
- ACID Compliance: Critical transactional integrity for Orders and Inventory management.
- Stateless Authentication: JWT-based security using Guard strategies and Role-Based Access Control (RBAC).
- Data Integrity: Strict schema validation via Class-Validator and foreign key constraints.
- Scalable IO: Asset management via streamed multipart uploads and static serving strategies.
- Node.js v18+ (LTS recommended)
- PostgreSQL v14+ (or Docker equivalent)
- npm or yarn
The backend service is the source of truth for the platform. It must be initialized before client applications.
-
Configure Environment Navigate to
./backendand establish the configuration.cd backend -
Initialize Data Layer The platform uses Prisma for schema management.
# Run migrations to sync schema with DB npx prisma migrate deploy # Hydrate database with initial seed data npx prisma db seed
-
Start Services
npm run start:dev
- Health Check:
GET http://localhost:3000/api - API Specification:
http://localhost:3000/api(Swagger UI)
- Health Check:
The Core API adheres to the OpenAPI 3.0 specification.
- API Documentation - Suitable for import into Postman, Insomnia, or code generators.
- Databse Design - The core outline of the design of the database for Boogie Neko.
- Database: PostgreSQL is the required data store.
- Storage: Local filesystem storage is currently configured for media assets (configured via
MulterandServeStatic). - CI/CD: (Pending) Docker containers are planned for containerized deployment.