A coastal suburb ranked as the best place to live in Rhode Island and No. 1,147 in the United States, according to Niche.