How marc0val/mypixelartsii works
Project type and purpose
• This is a full-stack single-page application called “MyPixelArtsII.”
File structure
• Top-level folders:
• backend – Express app (server.js, config, controllers, models, routes, middlewares, utils)
• frontend – Vite/React SPA (components, services (API calls), stores (state management), types)
• Build & config files:
• backend/.env.example, package.json, config/db.js
• frontend/vite.config.ts, tsconfig, postcss.config.js, tailwind.config.js
• Patterns:
• Backend follows MVC: Routes → Controllers (business logic) → Models (data layer)
• Frontend has a clear separation of UI components, service layer (canvasService, colorService, pixelService), and global state stores (canvasStore, colorsStore, pixelsStore, uiStore, userStore).
README for additional insights
• Minimal description: evolution of the prior My Pixel Arts system.