2.0.5 • Published 4 months ago

@jeliq/app-sdk-backend-supabase v2.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

Jeliq App SDK Backend Supabase

This package is designed for using Supabase as a backend for datastore and user authentication in applications generated with Jeliq.

Installation

$ pnpm add @jeliq/app-sdk-backend-supabase

Package Structure

Exported Repository (src/repository/index.ts)

  • Member

    • retrieveMember: Get member information
    • retrieveMembers: Get list of members
    • createMember: Create a new member
    • updateMember: Update member information
    • deleteMember: Delete a member
    • login: Process login
    • logout: Process logout
    • checkLogin: Check login status
    • resetPasswordForEmail: Reset password
    • changePassword: Change password
  • Database

    • retrieveDatabaseRecord: Get a record
    • retrieveDatabaseRecords: Get list of records
    • createDatabaseRecord: Create a record
    • updateDatabaseRecord: Update a record
    • deleteDatabaseRecord: Delete a record

Backend (src/utils/backend.ts)

  • Backend Client
    • getBackend: Get Supabase client

Converter (src/utils/converter.ts)

  • Query Utilities
    • getSelectQuery: Generate SELECT query
    • applyConditionToQuery: Apply search conditions
    • getPrimaryKey: Get primary key
    • getPagination: Get pagination information

Required Environment Variables

  • SUPABASE URL: SUPABASE_URL
  • SUPABASE ANON KEY: SUPABASE_KEY

License

MIT

Related Links

2.0.6

4 months ago

2.0.5

5 months ago

2.0.3

7 months ago

2.0.2

7 months ago

2.0.1

7 months ago

2.0.0

8 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago