Please follow tutorial in idm-module-archetype project. Archetype generates for you backend and frontend. There is tutorial: Archetype tutorial