Disclaimer: just another rather not important query (mainly for fun so don���t hesitate to tell me to use the node packages instead ;-) )
From their GitHub, I discovered json-server + lowdb (based on lowdash) => all nodes packages.
It uses a db file db.json and I like such simple �� databases ��. I know they're not real db.
To me, it could nearly be to me an elegant personal db even if I think this is mostly used to test API���s.
I would like to use that to generate static websites from Ecstatic.
The placeholder default website has limitations. For instance, the following request creates a new post (but then you cannot see the result if you query for posts just after)
I wanted to go past the limitation of the placeholder site (the db.json cannot be written). I can of course use the node package but you know :) Might be not so straight to port though.
So there are probably three open questions in this post:
1) lowdb (I know this is not a database but it���s handy and I���d like such usage in static website generation in conjunction with Ecstatic). Any already existing experiments maybe ? I don���t think Voyage can do that.
2) the API json-server based on routes (maybe a job for Teapot) ?
3) the faker package as a fun exercice.
Cheers,
C��drick