Chosen Solution

phone died and wont charge apple logo flashes for a second then black screen

It would help if you gave us a bit of background on the phone. Did anything happen to it recently, such as a drop, a repair attempt or contact with water? Or did the phone just randomly die? At first glance, it sounds like a battery issue could be the cause. It is the weakest link in the chain and this model iPhone is now several years old so it;s a likely candidate. You could try to replace the battery yourself by following this guide. If the replacement battery doesn’t solve the problem, then there could be a logic board issue or some other failed modular component may be at cause.