8000 GitHub - prjseal/Clean: Clean Starter Kit For Umbraco 13 and Above
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

prjseal/Clean

Repository files navigation

Clean Starter Kit for Umbraco 13 and 15

version 4.1.0 is for Umbraco 13 (Long Term Support)

version 5.0.0 is for Umbraco 15 (Standard Term Support)

If you want the older versions you need to go to the ones lower than version 4.0.0

Latest Release Details:

  • Made it specifically for .NET 8 and above and Umbraco 13 and above
  • Removed dependency on Contentment

To try it out on Windows, Mac or Linux, make sure you have downloaded the latest .Net 8 SDK and then run this block of commands in a folder somewhere.

# Ensure we have the latest Umbraco templates
dotnet new -i Umbraco.Templates

# Create solution/project
dotnet new sln --name "MySolution"
dotnet new umbraco -n "MyProject" --friendly-name "Administrator" --email "admin@example.com" --password "1234567890" --development-database-type SQLite
dotnet sln add "MyProject"

#Add starter kit
dotnet add "MyProject" package clean

dotnet run --project "MyProject"
#Running
⚡ If you're looking for Clean for Umbraco V9-12, see Clean Starter Kit!

Headless Implementation

Phil Whittaker has created a headless version of this starter kit available at Clean Starter Kit Headless

To set this up you will need to create an umbraco instance of the site as above

Then turn on the content delivery API with the following change to the Umbraco property of the appsettings.json file

      "DeliveryApi": {
        "Enabled": true
      }

Finally to enable revalidation of content you will need to update the Enabled property as below (enmabled is currently set to false).

  "NextJs": {
    "Revalidate": {
      "Enabled": true,
      "WebHookUrls": "[\"http://localhost:3000/api/revalidate\"]",
      "WebHookSecret": "SOMETHING_SECRET"
    }
  }

This presumes that your healdess implementation will be loated at localhost:3000

New API endpoint

We have added a new suite af API endpoints for bespoke functionality within the starter kit

  • Dictionary - access to the dictionary items
  • Search - the search form
  • Contact - the contact form submission

We have added an OpenAPI instance available at /umbraco/swagger/index.html?urls.primaryName=Clean%20starter%20kit

About

Clean Starter Kit For Umbraco 13 and Above

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0