My hometown is right by the sea.

Literal

I [of-の] hometown [of-の] town [topic-は] sea [to-に] touching-is.

郷里 ('hometown, birthplace') is a formal/literary word — compare with 故郷 (こきょう, similar meaning) or 地元 (じもと, more casual). 接する ('to touch, to be adjacent to') describes geographical contact. ~ている marks the resulting state. A slightly elevated way to describe a coastal hometown.