Adding Custom Express API

You can easily add a custom express js based API to the backend in by simply configuring your api after initializeIndexes in server-api/src/index.js as below

e.g

app.get("/hello",(req,res)=>{ res.json({message : "hello"})}

 

Published On September 5, 2020 2:02 PM

Last Updated September 5, 2020 2:02 PM