Controlling the camera with the mouse

Anyone know of a tutorial or instructions on how to move the camera around using the mouse similar to how it works in FPS games? For example the mouse rotates the camera and the WASD keys translate the camera. I have a terrain editor that I’m trying out but am having a tough time creating a working camera and I would love to be able to fly around.

Thanks!