Skip to content

A full-stack marketplace for code templates built with Next.js, PostgreSQL, and Cloudflare R2.

Notifications You must be signed in to change notification settings

Ismat-Samadov/codeplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

102 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ MVP Marketplace

A modern, full-stack marketplace platform for buying and selling MVPs, SaaS templates, and fullstack applications.

Next.js TypeScript PostgreSQL Tailwind CSS


✨ Features

  • πŸ” Secure Authentication - User registration and login with NextAuth.js
  • πŸ“¦ Template Upload - Upload and sell your MVPs, code templates, and fullstack apps
  • πŸ’° Flexible Pricing - List templates for free or set custom pricing
  • πŸ–ΌοΈ Rich Media - Upload preview images, screenshots, and downloadable source code
  • πŸ”— Multiple Distribution Options - Share via ZIP download or repository links
  • πŸ“Š Analytics Dashboard - Track views, downloads, and engagement metrics
  • 🌐 Social Sharing - Built-in QR codes and social media sharing buttons
  • 🎨 Beautiful UI - Modern, responsive design built with Tailwind CSS
  • ☁️ Cloud Storage - Cloudflare R2 integration for scalable file hosting

πŸ“Έ Screenshots

Landing Page

Landing Page Browse through a curated collection of MVPs, templates, and fullstack applications

Sign In

Sign In Secure authentication with email and password

Create Account

Create Account Easy registration process to get started

User Dashboard

User Dashboard Manage your templates, track analytics, and view your projects

Upload a Project

Upload Project Simple form to upload your MVPs with images, descriptions, and pricing

Profile Section

Profile Section Customize your profile with bio, social links, and contact information


πŸ› οΈ Tech Stack

Technology Purpose
Next.js 15 React framework with App Router
TypeScript Type-safe development
PostgreSQL Relational database
Prisma ORM Database toolkit and ORM
NextAuth.js Authentication solution
Cloudflare R2 Object storage for images and files
Tailwind CSS Utility-first CSS framework
Zod Schema validation
QRCode QR code generation for sharing

🎯 Key Features Breakdown

For Sellers

  • βœ… Upload unlimited templates and MVPs
  • βœ… Set custom pricing in USD
  • βœ… Share via downloadable ZIP files or repository links
  • βœ… Track analytics (views, downloads, contact reveals)
  • βœ… Social media integration for promotion
  • βœ… QR code generation for offline marketing

For Buyers

  • βœ… Browse templates by 15+ categories (SaaS, E-commerce, AI/ML, etc.)
  • βœ… View live demos and preview images
  • βœ… Access source code via download or repository
  • βœ… Contact creators directly
  • βœ… Share interesting projects on social media

Template Categories

  • 🌐 SaaS Platform
  • πŸ›οΈ Marketplace & E-commerce
  • πŸ“± Social Media Applications
  • πŸ“Š Dashboard & Analytics
  • 🎨 Landing Pages & Portfolios
  • πŸ“ Blog & CMS
  • πŸ“… Booking & Scheduling
  • πŸ€– AI/ML Applications
  • πŸ“± Mobile Apps
  • 🎨 UI Component Libraries
  • And more...

🌟 What Makes This Special?

Smart Source Code Sharing

Choose how you want to share your code:

  • ZIP Upload: Direct downloads (up to 50MB)
  • Repository Link: GitHub, GitLab, Google Drive, Dropbox, or any platform
  • Both Options: Maximum flexibility for your users

Built-in Marketing Tools

  • πŸ“± QR Code generation for each template
  • πŸ”— One-click social sharing (Twitter, Facebook, LinkedIn, WhatsApp, Telegram)
  • πŸ“‹ Copy link functionality
  • πŸ“Š Analytics tracking for marketing insights

Privacy-Focused

  • Buyer contact information is hidden by default
  • Click-to-reveal for email and phone numbers
  • Contact reveal tracking for analytics
  • Secure authentication with NextAuth.js

πŸ’Ό Use Cases

For Indie Hackers

Sell your side projects, MVPs, and starter kits to other developers looking to launch faster.

For Agencies

Showcase and sell your pre-built solutions, templates, and boilerplates to clients.

For Developers

Monetize your open-source work, reusable components, and fullstack applications.

For Startups

List your white-label solutions and SaaS templates for other entrepreneurs.


πŸ“ˆ Analytics & Insights

Track important metrics for each template:

  • πŸ‘οΈ Total and unique views
  • πŸ“₯ Download counts
  • πŸ“§ Email reveal tracking
  • πŸ“ž Phone reveal tracking
  • ⏱️ Average view time
  • πŸ“… Last viewed date

πŸ”’ Security Features

  • βœ… Secure authentication with NextAuth.js
  • βœ… Environment-based configuration
  • βœ… Input validation with Zod
  • βœ… SQL injection protection with Prisma
  • βœ… Secure file uploads to Cloudflare R2
  • βœ… User permission checks on all operations

🎨 Design Highlights

  • Responsive Design: Works perfectly on desktop, tablet, and mobile
  • Modern UI: Clean, professional interface with gradient accents
  • Smooth Animations: Subtle transitions and hover effects
  • Accessibility: Semantic HTML and ARIA labels
  • SEO Optimized: Structured data and meta tags for better discoverability

πŸš€ Live Demo

Visit www.mwp.codes to see the platform in action!


πŸ“ License

MIT License - feel free to use this project for your own marketplace!


🀝 Contributing

Contributions, issues, and feature requests are welcome!


πŸ’‘ Future Enhancements

  • Advanced search and filtering
  • Template reviews and ratings
  • Featured templates section
  • OAuth providers (GitHub, Google)
  • Email notifications
  • Template comparison tool
  • Affiliate program
  • Subscription plans for sellers

Made with ❀️ for the developer community

About

A full-stack marketplace for code templates built with Next.js, PostgreSQL, and Cloudflare R2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published