The Teogony by Hesiod, written between the 8th and 7th centure BC, is a poem based on the birth of Greek Gods. The name Teogony means by itself the “genealogy of Gods” and it represents a summary of a variety of Greek traditions, it explains how the kindgom of Gods was born form the Caos to the well-known Zeus.
The full text can be found in English online.