Headless CMS primer
Learn how to build apps that serves CMS content through a powerful GraphQL API
>> Not in a rush? Visit our in-depth intro tutorial instead! >>
Open your Shell and run the following command:
..optionally, use Snapcraft:
sudo snap install enonic
NOTE: Developers report build problems with the Snapcraft distro due to strict security policies, use the binary distro above if you experience such problems.
This command uses "headless movie database" as a template, leave out -r for more options.
enonic project create -r app-hmdb
enonic project deploy
Local dev environment is now available on http://localhost:8080
Tip: Go with the default options when prompted by CLI
NOTE: Sign up for free on Enonic Cloud and choose the 'CMS Essentials' template before running the commands below.
enonic cloud login
enonic cloud app install
Tip: Choose 'Production' if there are multiple install targets available
- In Cloud console: Your solution -> Production environment -> Log in
- After logging in: XP menu -> Content Studio -> Headless demo
Tip: See instructions to access the API, or go live - select the HMDB root item for more info
Congratulations on building and deploying your first app :-). Here are our recommended next steps:
Learn more about the app you just created...
Try our tutorial for building traditional sites
Complete our developer introduction guide
Using Enonic in mission critical deployments?
We make a living from professional training, cloud hosting, software support and specialist consulting.