UP Visayas C2C Marketplace
Iskommerce is a closed-campus student-to-student e-commerce marketplace for UP Visayas that enables buying and selling of items within a verified university community.
It replaces fragmented Facebook-based buy-and-sell workflows with a structured platform featuring listings, search, messaging, transactions, and reputation tracking.
- UPV email-verified authentication
- Product listings (create, update, delete)
- Search and discovery with filtering, sorting, and semantic (meaning-based) search
- Similar-listings suggestions on each listing page
- Personalized homepage feed based on a user's activity
- In-app messaging per listing
- Transaction workflow (request, accept, reject)
- Ratings and reviews system
- Notifications for messages and transaction updates
- Next.js (Frontend)
- NestJS (Backend)
- PostgreSQL + Prisma + pgvector (Database, semantic search)
- Better Auth (Auth)
- Tailwind CSS + shadcn/ui (UI)
- TypeScript
- Turborepo (Monorepo)
- Node.js
- pnpm
git clone https://github.com/github_username/iskommerce.git
cd iskommerce
pnpm installCreate .env files for frontend and backend using provided templates.
cp .env.example .envThis project requires a local PostgreSQL database.
Linux / WSL:
sudo apt install postgresql postgresql-contrib
sudo service postgresql startCreate database:
sudo -u postgres createdb iskommerceWindows:
- Install PostgreSQL from https://www.postgresql.org/download/windows/
- During setup, ensure
psqland tools are added to PATH
Create database:
createdb -U postgres iskommercepnpm db:migratepnpm devapps/
├── web/ # Next.js frontend
│ ├── src/
│ │ ├── app/
│ │ │ ├── (app)/ # authenticated routes
│ │ │ ├── (public)/ # public pages
│ │ │ ├── (auth)/ # auth flows (login/register)
│ │ │ └── layout.tsx # root layout
│ │ │
│ │ ├── features/ # domain-based frontend modules
│ │ │ ├── auth/
│ │ │ ├── users/
│ │ │ ├── listings/
│ │ │ │ ├── components/ # feature UI components
│ │ │ │ ├── hooks/ # feature state/data hooks
│ │ │ │ ├── api/ # feature API calls
│ │ │ │ ├── types/ # feature types
│ │ │ │ ├── utils/ # feature utilities
│ │ │ │ └── validations/ # form schemas
│ │ │ ├── search/
│ │ │ ├── messaging/
│ │ │ ├── transactions/
│ │ │ ├── reviews/
│ │ │ └── notifications/
│ │ │
│ │ └── shared/ # reusable frontend layer
│ │ ├── components/ # shared UI components
│ │ ├── hooks/ # shared hooks
│ │ ├── lib/ # utils and clients
│ │ ├── types/ # shared types
│ │ └── constants/ # global constants
│
└── api/ # NestJS backend
├── src/
│ ├── modules/ # feature modules
│ │ ├── auth/
│ │ ├── users/
│ │ ├── listings/
│ │ │ ├── repository/ # data access layer
│ │ │ ├── service/ # business logic
│ │ │ └── controller/ # HTTP layer
│ │ ├── search/
│ │ ├── messaging/
│ │ ├── transactions/
│ │ ├── reviews/
│ │ └── notifications/
│ │
│ ├── common/ # shared backend utilities
│ │ ├── utils/ # pure helper functions
│ │ ├── types/ # shared types
│ │ └── constants/ # global constants
│ │
│ ├── database/ # database access layer
│ │
│ └── config/ # environment & app config
│
└── main.ts
packages/
└── api # shared API contracts
└── contracts/ # FE/BE shared request/response types
Contributions are welcome!
See CONTRIBUTING.md for more information.