[noun] + みたいだ [verb (plain)] + みたいだ [i-adj] + みたいだ [na-adj] + みたいだ
みたいだ at the end of a sentence means "is like", "looks like": one thing resembles another. It goes straight after a noun, with no の or だ in between, and changes like a な-adjective: みたいです, みたいだった, みたいじゃない.
The same みたいだ also makes a guess: "it seems". After a verb or adjective it can only be a guess. After a noun it can be either, and the context decides.
Before a noun, みたいだ becomes みたいな, and before a verb or adjective みたいに.