Clone this website and look at the example code snippets in the IDE.