B2c Controllers

Create storefront controllers using SFRA or classic patterns with server.get/post, middleware chains, and res.render/json. Use this skill whenever the user needs to build a page route, handle form submissions, create AJAX endpoints, extend or override existing controllers, or add middleware to a request pipeline. Also use when debugging route registration or response rendering -- even if they just say 'new page endpoint' or 'handle a POST request'.

salesforcecommercecloud Updated 58 repo stars

File contents

salesforcecommercecloud/b2c-developer-tooling commit c792c3854c

Frequently asked questions

npx get-skill add salesforcecommercecloud/b2c-controllers