Coffee In Shanghai
There is an amazing resource on GitHub which can cover 99.9% of your needs if you’re seeking coffee or coffee shop chillin’ in shanghai: awesome-cn-cafe
Here’s the map, hotlinked from GitHub. Thank you GitHub.
Also, if you want to drink coffee at home instead of in a coffee shop, this reddit thread on where to buy beans is actually fascinating. Tons of great beans out there for Shanghaidwellers.