I also recommend not reinventing the wheel - QuickBooks is a solid accounting software - I have used it.
Journal entries are just a type of transaction record. In a double entry system, every transaction requires two entries - a debit and a credit. When I studied accounting, it was done in large ledger books with specialized columns (like spreadsheets). Translating this into a RDBMS is not a trivial exercise.