The value of most companies/apps are in the relationship with the customers, so it's the database, not the code.

Definitely agree. Most developers could build a basic Twitter or Facebook clone. The hard part is getting the users, content, and relationships that make the product worth coming back to.