Front-end template for building modular web apps or sites