sqitch
saasufy-components
sqitch | saasufy-components | |
---|---|---|
7 | 4 | |
2,715 | 4 | |
1.2% | - | |
7.2 | 9.6 | |
about 2 months ago | 14 days ago | |
Perl | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sqitch
-
Ask HN: What tool(s) do you use to code review and deploy SQL scripts?
We use https://sqitch.org/ and we’re fairly happy with it. Sqitch manages the files to deploy which are applied fits to a local database.
We use GitHub actions for deployment and database migrations are just one step of the pipeline. The step invokes sqitch deploy which runs all the pending migration files.
Then, all the approval process is standard for the environment. We require approvals in pull requests before merging to the main branch.
-
PostgREST: Providing HTML Content Using Htmx
I'm experimenting with it right now using Squitch [1] to make maintenance easier. It still feels like a hack and I also still have my doubts about the viability of this for real-world use. It's fun though and I'm learning about all kinds of advanced Postgres features.
[1] https://sqitch.org/
-
Modern Perl Catalyst: Docker Setup
For developing I find the official Perl docker images, running on a lightweight version of Debian, to be perfectly fine. Later on you might hand roll the skinniest possible image but the beauty of this setup is you can do that later and you don't need to change anything else. There's really not a lot going on here. First I declare the base image, which is as I said the official Perl image. I'm not using the latest Perl here because the application uses Sqitch for managing database migrations and that needs an update (there's a PR pending) to run on the most recent Perl so we'll just use a very nearly recent one instead. WORKDIR just defines where your application is installed. You can put it anywhere you want within reason. I like simple things so I use the most simple of all the conventions I've seen around.
-
Database migration tool
Also, https://sqitch.org/
- How do you handle schema migrations?
-
Announcing codd - a tool to apply postgres SQL migrations
Some possible upsides of codd: - No need to manually write verification SQL. Codd will update schema representation files when you codd add some-migration.sql and will compare those to the actual schema when deploying (I'd say in ways which would be very hard to replicate manually, see an example of what codd checks, giving you the option to rollback if they don't match or proceed but log non-matching db objects. - It seems to be much simpler to set codd up. You need 3 env vars to start, a folder to store your migrations and a self-contained statically linked executable. Just codd add migration.sql your way in after that - This might be very wrong as I couldn't find it explicitly documented, but this GH issue suggests it's not so simple to apply all pending migrations in a single transaction with Sqitch? Maybe it requires some bundling or something along those lines and then it's fine, though. In any case, codd will do this automatically when you run codd up (provided postgresql allows it).
saasufy-components
-
Software Infrastructure 2.0: A Wishlist (2021)
I built a serverless SaaS no-code/low-code platform which could be of interest: https://saasufy.com/
You just need plain HTML which can be deployed online with something like GitHub pages.
I've built a few apps with it including a simple real-time chat app which supports both group chat, private 1-on-1 chat with an account system, OAuth via GitHub... The entire app is only 260 lines of HTML markup. See: https://github.com/Saasufy/chat-app/blob/main/index.html
It comes with around 20 generic declarative HTML components which can be assembled in complex ways: https://github.com/Saasufy/saasufy-components?tab=readme-ov-...
There is a bit of a learning curve to figure out how the components work but once you understand it, you can build apps ridiculously quickly. The chat app only took me a few hours to build.
I've been helping a friend to build an application related to HR with Saasufy and I managed to get the basic search functionality working with only 160 lines of HTML markup.
-
Htmz – a low power tool for HTML
Interesting. I wrote a similar plain HTML/WebComponent-based front end for my new no-code/low-code serverless platform https://saasufy.com/
I'm at a point that I can build just about any data-driven using only a handful of declarative generic components: https://github.com/Saasufy/saasufy-components?tab=readme-ov-...
I'm considering to also add support for other front end tech like this. Not sure I found anything comparable to saasufy-components yet.
-
PostgREST: Providing HTML Content Using Htmx
I really like this general approach of using HTML as a declarative language.
I've been working on a similar concept as a serverless platform which updates all data in real time: https://saasufy.com/
Docs: https://github.com/saasufy/saasufy-components/#saasufy-compo...
- HTML, the Programming Language
What are some alternatives?
ContactsDemo - Example Catalyst Application
couchapp - Utilities to make standalone CouchDB application development simple
migrate - Database migrations. CLI and Golang library.
neurelo-go-htmx-example - A go project built using Neurelo and Htmx.
atlas - Manage your database schema as code
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
maildev - :mailbox: SMTP Server + Web Interface for viewing and testing emails during development.
SQLpage - SQL-only webapp builder, empowering data analysts to build websites and applications quickly
git-secret - :busts_in_silhouette: A bash-tool to store your private data inside a git repository.
plmustache - Logic-less templates for Postgres
docs - Documentation for Docker Official Images in docker-library
smoothdb - SmoothDB provides an automatic RESTful API to PostgreSQL databases