Everything that comes first.
Users, permissions, notifications, attachments, change history: an application needs all of this before it even gets to the problem you actually want solved. These are the blocks everything else rests on: work nobody sees, and the part nobody wants to pay for.