Skip to content

prisma-idb/pidb-kanban-example

Repository files navigation

This repository is a demo for the main package @prisma-idb/idb-client-generator. It showcases how to utilize it, allowing for fast offline, structured, and a Prisma ORM-like DX.

Features

  • Svelte: A modern JavaScript framework for building user interfaces.
  • Prisma: A next-generation ORM for Node.js and TypeScript.
  • IndexedDB: A low-level API for client-side storage of significant amounts of structured data.
  • Vite: A fast build tool for modern web projects.

Getting Started

Prerequisites

  • Node.js (>= 14.x)
  • npm (>= 6.x)

Installation

  1. Clone the repository:
git clone https://github.com/prisma-idb/pidb-kanban-example.git
cd pidb-kanban-example
  1. Install the dependencies:
npm install
  1. Generate the Prisma client:
npx prisma generate

Running the Application

  • Development mode:

    npm run dev
  • Build for production:

    npm run build
  • Preview the production build:

    npm run preview

Testing

  • Run end-to-end tests:

    npm run test:e2e

Project Structure

  • src/: Contains the source code of the application.
  • prisma/: Contains the Prisma schema and migration files.
  • public/: Contains static assets.

Learn More

License

This project is licensed under the MIT License.

About

An example of the idb-client-generator in action

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published