News for hackers. Stuff that matters.
Re:Ask HN: What's the fastest tool for basic CRUD? by artpar on Sunday January 19, 2020 @11:18AM (#22092173)
I have been working on this from some time. Checkout

https://github.com/daptin/daptin

I have been deferring another show hn since the last one, since I am always in the middle of adding one more feature :p

my overall goal in daptin is to build something reliable which can run for years without needing any maintenance. Some things to show this is that its written in golang and I build static targets for all target hosts, the thing is open-sourced and licensed to be used without fear.

As for the features, I will try to list some here:

- YAML/JSON based data declaration

- CRUD api implementing https://jsonapi.org/

- GraphQL api

- Definable actions, for custom apis

- Integration to any 3rd party api based on swagger/openapi spec

- Runs on mysql/postgres/sqlite

For more advance features:

- SMTP server, IMAP server

- Self generated cert/ Acme TLS generation support

- Encrypted columns

- Asset columns (file/image/binary store)

- Asset columns backed by cloud storage (like ftp/disk/gdrive/s3/bb and many)

- Native OAuth/3rd party login support

- Exposing cloud store folders as static websites

I have built a lot of apps on daptin over some time now and I love that it has become what I envisioned it to be.

Re:Ask HN: What's the fastest tool for basic CRUD? by ComSubVie on Sunday January 19, 2020 @11:34AM (#22092259)
That's a great set of features! I'll try it on my next prototype.

Especially the OpenAPI export is great; I had always problems with automatically generating it (in go/node.js/.net core).

Re:Ask HN: What's the fastest tool for basic CRUD? by artpar on Sunday January 19, 2020 @11:44AM (#22092323)
Not only openapi export, but you can import openapi/swagger specs and use them in actions. Effectively third party integrations.

And I forgot to mention table and row level user authentication permissions and groups.

Re:Ask HN: What's the fastest tool for basic CRUD? by fenesiistvan on Sunday January 19, 2020 @02:22PM (#22093342)
Do you plan MS SQL integration?
Re:Ask HN: What's the fastest tool for basic CRUD? by artpar on Sunday January 19, 2020 @02:27PM (#22093373)
I haven't planned mssql, mostly because the library which covers most sql dialects in golang currently supports just those 3(mysql, postgres, sqlite) .

I can look into it but I don't know what's the fastest way to get a mssql instance right now :) it might not actually be a huge task.

Re:Ask HN: What's the fastest tool for basic CRUD? by GordonS on Sunday January 19, 2020 @05:13PM (#22094483)
> I don't know what's the fastest way to get a mssql instance right now

MSSQL for Linux is available as a Docker image :)

Re:Ask HN: What's the fastest tool for basic CRUD? by artpar on Sunday January 19, 2020 @11:41PM (#22096370)
Nice, I will try to run daptin with mssql and see what's the amount of effort required.