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

Implement the standard IO library and features for the Stitches app #1

Merged
merged 101 commits into from
Nov 21, 2024

Conversation

calebpitan
Copy link
Owner

@calebpitan calebpitan commented Nov 3, 2024

  • Implement standard open/close procedures for in memory SQLite 3 database using sql.js and sql-wasm (SQLite 3 WASM)
  • Add drizzle orm for migrations and query building
  • Develop schema for tasks, tags, schedules
  • Implement core repository for tasks, tags, schedules
  • Implement API for running database migration on the SQLite database client-side to sync schema
  • Add unit and integration tests

TODO

  • Develop schema for schedule
  • Implement repositories for tags, schedule
  • Develop schema for subtasks
  • Implement repositories for subtasks

Copy link

vercel bot commented Nov 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stitches ❌ Failed (Inspect) Nov 9, 2024 10:48am

- remove older migrations and start the database from a clean slate
- use a more appropriate approach to retrieve table names from schema rather than hardcoding
- switch to async code from sync code
- refactor logic and clean up methods
- improve types
- update fragments
- update query builder utilities
- add schema for schedule
- add repositories for all of schedule shemas
- add a factory function for generating a repository for any schema
- refactor repository abstract factory
- add definition for repository collection error
- favor exception over null or undefined to allow better composability with
promise.then().catch() rather than if-else branch checking for undefined
- implement schedules respoitory facade for bringing all the bits and pieces together and coordinating record insertion and selection
@calebpitan calebpitan merged commit 9432999 into main Nov 21, 2024
3 checks passed
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 this pull request may close these issues.

1 participant