No description
Find a file
2025-06-24 14:06:09 +03:00
prisma feat(prisma): define models for Url, Property, Item, ItemProperty, SelectedProperty, and DeletedProperty 2025-06-18 14:22:17 +03:00
public Initial commit from Create Next App 2025-06-16 18:52:12 +03:00
src feat(TypeaheadInput): implement portal-based dropdown for suggestions with dynamic positioning 2025-06-24 14:06:09 +03:00
.gitignore chore(gitignore): update .gitignore to include database files and clean up formatting 2025-06-19 15:39:32 +03:00
eslint.config.mjs Initial commit from Create Next App 2025-06-16 18:52:12 +03:00
next.config.ts Initial commit from Create Next App 2025-06-16 18:52:12 +03:00
package-lock.json build(deps): update @tanstack/react-query and add @tanstack/react-query-devtools 2025-06-19 14:55:47 +03:00
package.json build(deps): update @tanstack/react-query and add @tanstack/react-query-devtools 2025-06-19 14:55:47 +03:00
postcss.config.mjs Initial commit from Create Next App 2025-06-16 18:52:12 +03:00
README.md docs(readme): improve formatting and structure of setup instructions 2025-06-19 15:43:27 +03:00
tsconfig.json Initial commit from Create Next App 2025-06-16 18:52:12 +03:00

Compareware

A modern web application for comparing items and their properties, built with Next.js and Prisma.

What is Compareware?

Compareware allows users to compare different items by their properties in a structured, easy-to-use interface. Users can:

  • Add items for comparison via URLs
  • Select relevant properties for comparison
  • View side-by-side comparisons of items
  • Manage and customize comparison criteria

Tech Stack

  • Frontend: Next.js 15 with TypeScript
  • Database: SQLite with Prisma ORM
  • Styling: Tailwind CSS
  • Runtime: Node.js

Getting Started

Prerequisites

  • Node.js 18+
  • npm, yarn, pnpm, or bun

Installation

  1. Clone the repository:
git clone git@forge.ftt.gmbh:ryanmwangi/Compareware_next.js.git
cd compareware-nextjs
  1. Install dependencies:
npm install
# or
yarn install
# or
pnpm install

Set up the database:

Generate Prisma client

npx prisma generate

Create and migrate the database

npx prisma migrate dev

or if you don't have migrations set up:

npx prisma db push

(Optional) Seed the database with initial data:

npx prisma db seed

Running the Development Server

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the application.