Hello world!

Sommer 2026

HubSpot training proof

En samlet bevis-side for CLI, modules, serverless functions, HubDB, dynamic pages og private content.

CLI Fetch, upload, watch
Modules Custom module in theme
Serverless markedspartner-2660980.hs-sites.com/_hcms/api
HubDB Dynamic listing and detail
Access Private content test

Curriculum proof

What this page demonstrates

01

HubSpot CLI workflow

Local theme files are edited on disk and uploaded to Design Manager with the HubSpot CLI.

hs cms upload "Marius" "Marius"
02

Custom module

The theme contains a custom training module that can be placed in templates or through editor-controlled areas.

Marius/modules/Training-Module.module
03

Serverless functions

The serverless folder defines backend endpoints that run in HubSpot and can use secrets safely.

Marius/training.functions

Serverless functions

Backend endpoints running in HubSpot

GET https://markedspartner-2660980.hs-sites.com/_hcms/api/training/hello?name=Marius

Returns JSON from hello.js.

Open endpoint
GET https://markedspartner-2660980.hs-sites.com/_hcms/api/training/contact-test

Uses SommerHubspotToken as a secret and reads one contact from the CRM API.

Open endpoint

HubDB dynamic page

Training resources

Private content

No membership session detected Make this page private and test with an access group.

Editor area

Drag-and-drop modules

Finland Flag Over Beer Drinker in Finnish Landscape

Finsk sommer

Eiriks sommerferie