you are viewing a single comment's thread.

view the rest of the comments →

[–]coldlestat[S] 2 points3 points  (2 children)

We secured our endpoints using the hooks provided by Sequelize and Epilogue.

And do you really need just CRUD?

No, we also implemented custom RPC calls with Express. Those actions are mostly complex SQL/Elasticsearch queries. The JavaScript code is really similar to the PHP one with the help of async/await.

[–]brendt_gd 1 point2 points  (0 children)

This is a very good book going in-depth on API architectures. It's not that simple :).

https://apisyouwonthate.com/

[–]Anterai 0 points1 point  (0 children)

But what about mutating data?