Re:PostgREST
by babayega2 on Sunday November 03, 2019 @02:17PM
(#21435922)
Any equivalent in MySQL? I have a legacy project in MySQL 5.1 I need to keep up. I have been using Peewee to generate the structure of the DB but would like to do some direct API call like Postgrest
[ Parent
| on HN ]
Re:PostgREST
by ruslan_talpa on Sunday November 03, 2019 @02:21PM
(#21435945)
xmysql - Creates instant REST APIs over a mysql database.
https://github.com/o1lab/xmysql/
Give it a try.
(Im the author)
Re:PostgREST
by avodonosov on Sunday November 03, 2019 @04:02PM
(#21436566)
o1lab, FYI, I considered xmysql recently, for my needs it's not currently enough because I'd like to have access rights management. IMHO utilizing the DB users for that is ideal - authenticate the mysql Db users in your rest service session. (PostgREST seems to do this)
ACL and other features are work in progress. Please watch repo for updates.