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 November 5, 2022 8:17 PM

Last Updated November 5, 2022 8:17 PM