How marblism-community/yrppvb-investnow works
Project type and purpose
• This is a full-stack SaaS dashboard built on Next.js (app router), TRPC, Prisma, and a custom “server” layer of libraries (email, payment, upload, OpenAI).
• The README calls it “In Marble We Trust” (Marblism dashboard) with development, build, and production instructions, plus Docker compose support.
File structure
• Top-level: configuration files (.env.template, Docker-Compose, tsconfig), models (ZModel files), Prisma schema & seed, public assets, scripts, package.json.
• src/app: Next.js app directory split into (authenticated) and (non-authenticated) pages and API routes under src/app/api (NextAuth, billing webhook, TRPC, file upload).
• src/core: shared client/server abstractions (authentication, configuration, database wrappers, TRPC client/server, hooks, helpers).
• src/designSystem: UI components, layouts, theme & provider code used by Next.js pages.
• src/server: pure-TS “service layer” – routers and specialized libraries for email, payment, upload, and OpenAI.
README for additional insights
• Authentication uses NextAuth, billing via Stripe webhooks, file uploads to private/public providers (AWS S3 or local).