Set up mongoose backend.