Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Postgres as a supported consumer #49

Open
hashanwcreately opened this issue Sep 9, 2024 · 1 comment · May be fixed by #50
Open

Adding Postgres as a supported consumer #49

hashanwcreately opened this issue Sep 9, 2024 · 1 comment · May be fixed by #50
Assignees

Comments

@hashanwcreately
Copy link

No description provided.

@hashanwcreately hashanwcreately self-assigned this Sep 9, 2024
@hashanwcreately
Copy link
Author

Add Postgres support to Siddi event tracking system

  • Integrate Postgres as a new event consumer
  • Add pgConfig.ts for Postgres connection configuration
  • Modify siddi.ts:
    • Add postgresClient property
    • Implement initPostgres method for connection setup
    • Update close method to handle Postgres connection
  • Update consumers.ts:
    • Add Postgres consumer with test, identify, and track methods
    • Implement robust connection testing for Postgres
  • Ensure backward compatibility with existing consumers
  • Add necessary type declarations for global Postgres client

This commit enables Siddi to store events and user data in a Postgres
database while maintaining support for existing event consumers.

@hashanwcreately hashanwcreately linked a pull request Sep 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant