Skip to content

About

UPV C2C Ecommerce Marketplace

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation

Contributors Stargazers License

Iskommerce

UP Visayas C2C Marketplace

About The Project

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.

Key Features

  • 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

Built With

  • Next.js (Frontend)
  • NestJS (Backend)
  • PostgreSQL + Prisma + pgvector (Database, semantic search)
  • Better Auth (Auth)
  • Tailwind CSS + shadcn/ui (UI)
  • TypeScript
  • Turborepo (Monorepo)

Getting Started

Prerequisites

  • Node.js
  • pnpm

Installation

git clone https://github.com/github_username/iskommerce.git
cd iskommerce
pnpm install

Environment Setup

Create .env files for frontend and backend using provided templates.

cp .env.example .env

Database Setup

This project requires a local PostgreSQL database.

Install PostgreSQL

Linux / WSL:

sudo apt install postgresql postgresql-contrib
sudo service postgresql start

Create database:

sudo -u postgres createdb iskommerce

Windows:

Create database:

createdb -U postgres iskommerce

Run migrations

pnpm db:migrate

Run Development Server

pnpm dev

Project Structure

apps/
├── 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

Contributing

Contributions are welcome!

See CONTRIBUTING.md for more information.

About

UPV C2C Ecommerce Marketplace

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages