/kilo-code-demo-marketplace

It's a Moleculer marketplace demo. Code is generated by Kilo Code.

Primary LanguageJavaScript

Marketplace

This project is generated by https://kilocode.ai/

Prompt & Model

The project is generated with "Claude Opus 4" with prompt

Create a minimal marketplace using MoleculerJS framework on the backend, SQLite for DB and Vuejs and TailwindCSS on the frontend.

It took ~30 minutes and cost was $32.

After that, I made small fixes in parameter validation.

Architecture Overview

Backend Architecture: MoleculerJS microservices with 6 core services:

  • API Gateway (routing and CORS)
  • Auth Service (JWT-based authentication)
  • User Service (profile management)
  • Product Service (CRUD operations)
  • Cart Service (shopping cart management)
  • Order Service (checkout processing)

Database Design: SQLite with 5 tables:

  • Users (buyers and sellers)
  • Products (marketplace listings)
  • Cart Items (temporary shopping cart)
  • Orders (completed purchases)
  • Order Items (order details)

Frontend Structure: Vue 3 with:

  • Pinia for state management
  • Vue Router for navigation
  • TailwindCSS for styling
  • Axios for API communication

Key Features

  • User System: Registration, login, and dual buyer/seller roles
  • Product Management: Full CRUD for sellers
  • Shopping Experience: Browse, search, add to cart
  • Checkout Flow: Basic order placement
  • Responsive UI: Modern design with TailwindCSS

Run the application

Start the Backend:

cd marketplace/backend
npm start

Start the Frontend:

cd marketplace/frontend
npm run dev

The application is now ready to use! The backend runs on http://localhost:3000 and the frontend on http://localhost:5173.

Result

alt text

alt text

alt text

Contact

Copyright (C) 2025 Icebob

@icebob @icebob