This is a template for a HONC project inside ValTown. You should just be able to fork it and get going. It uses:
- Hono for the API
- Drizzle for the ORM
- ValTown sqlite for the DB
- ValTown as the Cloud
- Fiberplane as the API Explorer
There's a list of example HONC apps for inspiration on GitHub: here and here
Not totally sure how to generate and apply drizzle migrations yet!
So this template assumes you'll do a lot of manual SQL writing to sync your schema with your migrations.
There's probably definitely a better solution, so please comment if you have ideas!
We try to keep our dependencies inside a folder called deps/
, and you might be wondering: Why?
Great question. So interrogative!
If we want to update all external dependencies at once, it's just a lot easier to do it in one file, instead of going to (for example) each file that imports Drizzle, and changing the import url there.