How does an online food ordering system work?

A Guide for Pubs and Restaurants

Yes please, I’d like a free system!