AMarketPlace is a production-ready, full-stack Multi-Vendor Digital Market SaaS Platform constructed with the
newest Subsequent.js 16 (App Router), Tailwind CSS, React 19, and PostgreSQL.
Launch a premium digital code retailer just like CodeCanyon, ThemeForest, or Inventive Market. AMarketPlace is engineered for prime efficiency utilizing direct, light-weight PostgreSQL queries by way of the pg bundle, fully eliminating heavy ORM overhead. It includes a strong Position-Based mostly Entry Management (RBAC) system, multi-vendor dashboards, verified purchases, automated licensing, and a built-in helpdesk.
Prime Options
Multi-Vendor Vendor Ecosystem
Empower builders and creators to register, apply to change into authors, and arrange their digital storefronts. Authors can publish code packages, add product variations (ZIP), write markdown documentation, and handle pricing tiers (Common, Prolonged, and Premium).
Complete Admin Management Panel
Full management over your platform with out touching code. Evaluation and average product listings, approve writer functions, course of withdrawal payout requests, handle consumer accounts, examine audit/safety logs, and replace system-wide settings in real-time.
Safe Customized Authentication & Gated Middleware
Enterprise-ready customized session administration. Powered by JWT tokens saved in safe cookies with Subsequent.js Middleware route safety. Computerized gating prevents unauthorized entry to Admin, Creator, and Purchaser Dashboard pages primarily based on consumer roles.
Helpdesk Assist Ticketing System
Ship help straight throughout the platform. Patrons can create help tickets categorized by matter (Technical, Billing, Design, Database) and set precedence ranges. Employees and authors can reply in real-time to resolve buyer queries.
Direct Purchaser-Creator Messaging Engine
Facilitate transactions and pre-sale questions. An built-in dialog module permits patrons to open direct messages with authors, negotiate offers, request customized edits, or ask technical questions earlier than and after shopping for.
Computerized License Verification
Safeguard digital merchandise. Each profitable buy mechanically generates a singular license key, logs obtain makes an attempt within the database, and tracks license lively/inactive standing to stop unauthorized sharing of code sources.
Native Session & Customer Analytics
Analyze efficiency with built-in customer metrics. The system registers particular person customer classes, tracks browser user-agent varieties, and data mission web page views. Admins and authors can examine day by day, weekly, and month-to-month conversion metrics.
Nodemailer SMTP Transactional Emails
Ship automated platform notifications. Ship transactional buy receipts, password reset hyperlinks, and registration verification emails. Configured dynamically by way of the database settings panel utilizing SMTP connection swimming pools.
Position-Based mostly Entry Management (RBAC) & Safety
Safety and entry insurance policies built-in:
- Route Gating Middleware: Subsequent.js middleware guards routes like
/admin/*and/writer/*, redirecting customers with out verified roles to the client dashboard. - Protected Session Verification: Makes use of signed JWT session cookies containing consumer roles, stopping cookie tampering or session hijacking.
- Bcrypt Password Hashing: Safe storage of consumer authentication knowledge utilizing industry-standard bcrypt algorithm password hashes.
- Direct Database Safety: Database queries parameterized to stop SQL injection vulnerabilities.
Dynamic Settings & Monetary Management
Full management over system variables straight from the dashboard:
- Plan & Fee Configurations: Set world fee cuts (e.g., 70% to authors, 30% to platform) processed mechanically upon buy.
- Multi-Forex Image Settings: Simply regulate the first platform foreign money and set real-time alternate charges (e.g., USD-to-INR conversions).
- SMTP Gateways: Configure electronic mail host, port, username, password, and sender handle dynamically.
- Creator Payouts Management: Evaluation withdrawal requests, handle payout particulars (PayPal electronic mail, banking credentials), and mark requests as pending, accredited, or rejected.
- Audit Logging: Actual-time logging of consumer exercise and system occasions for simple moderation.
Pre-configured Market Classes
Absolutely ready stack classes prepared to prepare templates and scripts:
- JavaScript: Code snippets, libraries, visible plugins, and video games.
- React / Subsequent.js: Trendy UI elements, dashboards, and SaaS starters.
- WordPress: Customized themes, builders, and customized CMS extensions.
- PHP Scripts: Laravel boilerplates, backend APIs, and net apps.
- HTML5 / CSS: Responsive design pages, CSS stylesheets, and design portfolios.
- Cell Apps: Native templates, Expo bundles, and Flutter modules.
- Admin Templates: Useful developer panels, darkish mode layouts, and charts.
Technical Stack
- Framework: Subsequent.js 16 (App Router)
- Frontend: React 19, Tailwind CSS, Shadcn UI, Lucide Icons
- Charts & Knowledge: Recharts, Date-fns
- Database: PostgreSQL by way of uncooked
pgpool consumer connection (optimized direct queries with no ORM wrappers) - Authentication: Customized JWT token session verification with safe cookie administration
- Language: 100% TypeScript
- Electronic mail System: SMTP mail routing by way of Nodemailer
Demo Credentials
Admin Account:
- Electronic mail: [email protected]
- Password: password123
Creator Account:
- Electronic mail: [email protected]
- Password: password123
Consumer Account:
- Electronic mail: [email protected]
- Password: password123
Why Select AMarketPlace?
- Direct Database Efficiency: Bypasses heavy ORMs like Prisma or Sequelize. Makes use of uncooked SQL pool connections by way of the
pgbundle for excessive question pace. - Prepared-to-Deploy Seed Knowledge: Comes pre-packaged with full demo seeds together with check patrons, authors, merchandise, tickets, orders, opinions, and detailed analytics historical past.
- Clear Single-File Migration: Easy database workflow. The whole database construction is outlined in a single file:
/database/schema.sql, which is run by way ofnpm run migrate. - Developer-First Codebase: 100% TypeScript typed, clear elements listing construction, reusable hooks, and clear routing separation.
- Customized Auth Autonomy: Absolutely unbiased authentication logic. No dependency on exterior SaaS auth like Supabase Auth, Firebase, or Auth0.
What You Get
- Full Subsequent.js supply code mission
- Database schema SQL and migrate runner script
- Seed configuration scripts
- Detailed listing documentation
Enterprise Advantages & ROI
- Launch Your Code Store Immediately: Arrange a totally purposeful multi-vendor script market in minutes as a substitute of months of customized growth.
- Generate Recurring Commissions: Routinely retain a proportion of every transaction processed on the platform.
- Have interaction Prospects Immediately: Direct buyer-to-author ticketing and chat resolves points quicker, lowering refunds and buyer churn.
- Observe Development Metrics: Measure gross sales volumes, writer signups, web page views, and customer demographics on to optimize advertising spend.
Technical Workflows
- On the spot Database Provisioning: Working
npm run migratecompiles the TypeScript migration script, reads the uncookedschema.sql, executes desk era, index declarations, triggers, and default website settings straight towards PostgreSQL. - Middleware Authentication Guarding: Incoming request -> Middleware decrypts session JWT cookie -> Matches consumer roles (purchaser, writer, admin) -> Routinely permits entry or redirects to applicable dashboard pages.
- Transactional Electronic mail Dispatch: Motion triggered (e.g. consumer signup/reset) -> Fetches present SMTP configs from `site_settings` desk -> Creates pool connection -> Dispatches electronic mail notifications.
- Native Customer Session Logging: Customer visits website -> Middleware extracts hashed IP and consumer agent -> Checks if session already exists for present date -> If not, inserts new customer session in database for charting.
Ceaselessly Requested Questions (FAQ)
- Q: How do database migrations work?
A: Deployed utilizing the uncookedpgbundle. Runnpm run migrateto execute the runner, studyingschema.sqland constructing your database constructions immediately. - Q: How is authorization managed?
A: Authorization is enforced by way of consumer roles saved within theuser_rolesdesk. The Subsequent.js middleware decrypts the session cookie and verifies function permissions towards requested routes. - Q: Can I add customized classes?
A: Sure, classes may be created, up to date, and deleted dynamically within the admin settings dashboard, or seeded straight by way of `schema.sql`. - Q: What fee integrations can be found?
AMarketPlace comes with Razorpay and PayPal absolutely built-in. You solely want so as to add your personal Razorpay and PayPal account credentials/API keys within the configuration. All fee integration code is already developed, so you can begin accepting funds
Necessities
- Node.js 18+
- PostgreSQL Database (Supabase)
- Direct database connection string configured in
.env

