Backend server for the Ninja web app