the-road-to-graphql / fullstack-apollo-express-postgresql-boilerplate

💥 A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
https://roadtoreact.com
MIT License
1.2k stars 265 forks source link

Added morgan #32

Closed priestor closed 5 years ago

priestor commented 5 years ago

Added morgan to analyse response time and more.

https://github.com/expressjs/morgan

rwieruch commented 5 years ago

I think a better solution would be Apollo Engine for analytics.

priestor commented 5 years ago

With morgan you get your nice and quick response in your console for development. But yeah to analyse the behaviour on a "live test" or just simply the live deployment Apollo Engine is awesome. You cant really simulate how your customer base will really use your product on daily bases.

But for the learning purpose I think morgan is a great way to get started with this topic. Everyone does it a litte bit differently :)

rwieruch commented 5 years ago

To be honest, I never used morgan :) But it may be a great addition. I just don't want to overcomplicate things with this repository, because many boilerplate projects on GitHub are just overwhelming with all its tooling. It should stay beginner friendly so that people can easily pick it up :) Thanks for your help to make the project awesome! 🎉