glennreyes/graphpack

Integration with existing Express app ?

revskill10 opened this issue · 4 comments

Is it possible to integrate the package with an existing express.js application ?

It is. although it might not be able to support all server properties for now such as middlewares. you can check the discussion on adding middlewares support here.

@revskill10 it might be helpful to know what sort of express server properties you're app is currently using?

@farskid I'm using NextJS. It uses next dev and next build for development, but graphpack uses different command to develop. It's my main concern to integrate both in development.

@glennreyes Any thoughts in terms of integration with Next?

This was meant to be a standalone app. But of course, if someone has an idea to make it integrating with next.js nicely please let us know!

Adding middlewares should be available soon with #20.