I've come across this great free website which provides a LaTeX editor and compiler online.

It supports templates from most scientific journals, and also has collaboration features so that co-authors can write a paper in a distributed way.

I'm very pleased with how well it works!

https://www.overleaf.com