Michael Schur wrote a book called “How to be Perfect”, which is literally an intro philosophy book and explains how (and why) he incorporated different philosophical perspectives into the show.
It’s definitely a real philosophy primer - the usual suspects (Aristotle, Kant, the utilitarianists, etc) are covered in an accessible way and couched in pop culture. But there are some spoilers if you haven’t watched the show.