REST API

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
utony
Veteran Member
Posts: 109
Joined: 2020-04-03 18:37

REST API

Post by utony » 2024-08-22 22:18

Anyone????? I need to connect my AG DB application to a new PWA I am working on. Is there a service someone is using or is AG going to build that in? I will pay for it.... hint...

User avatar
D Oliveira
AppGini Super Hero
AppGini Super Hero
Posts: 351
Joined: 2018-03-04 09:30
Location: David

Re: REST API

Post by D Oliveira » 2024-08-23 21:17

1- create a custom php project
2- map query results to different functions
3- map urls to each function
4- inspect request payload and make sure everything is sanitized
5- configure rate limiting at the web server level if necessary
6- decide the authenticatio method, either via permanent api key or temporary tokens
7- test and deploy to production

you can try using a rest php api package that already exists (search github) if you wanna implement a solid framework rather than developing a custom project.

FWIW this is not easy or straight forward depending on the requirements, best of luck

Post Reply