Skip to content

[Good First Issue] Add SQLite mode for local development without Docker #6

@pixelstrade-dev

Description

@pixelstrade-dev

Description

Currently CAIMS requires PostgreSQL via Docker. Adding SQLite support would make local development much easier for contributors.

What to do

  1. Add a SQLite provider option in prisma/schema.prisma
    1. Create a migration script for SQLite
    1. Add CAIMS_DB_PROVIDER env variable to switch between PostgreSQL and SQLite
    1. Update lib/db/client.ts to handle both providers
    1. Document the SQLite setup in README

Skills needed

  • Prisma ORM
    • SQLite basics
      • TypeScript

References

Metadata

Metadata

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions