Can someone post a snippet for how to implement Admin api in koa and pass variables

New Member
2 0 0

I am fairly new to nodejs itself, I am finding it difficult to implement Admin api, If someone can post an example for 


It would be super helpful.  Basically how to pass variables on to server.js file from client side and proper way to make a fetch request from server.js(Facing issues in accessing my variable) cause I am not able to implement it properly.