Skip to content

karlmacklin/Nikcio.UHeadless

 
 

Repository files navigation

Nikcio.UHeadless

Codacy Badge Maintainability

This repository creates an easy setup solution for making Umbraco headless. It comes with a wide range of extensibility options that can be tailored to your needs.

To get started, add the following to your Startup.cs.

Setup

using Nikcio.UHeadless.Extensions;

public void ConfigureServices(IServiceCollection services)
        {
            services.AddUmbraco(_env, _config)
                /* Code obmitted for clarity */
                .AddUHeadless()
                /* Code obmitted for clarity */
        }

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
    /* Code obmitted for clarity */

    app.UseUHeadlessGraphQLEndpoint();

    app.UseUmbraco()
    /* etc... */
}

Now your content will be avalible at /graphql

To get started try adding some content to the root and run the following query:

{
  contentAtRoot {
    nodes {
      id,
      name
    }
  }
}

Documentation is coming... Hang in there

Todo

  • GraphQL Playground
  • Extending types
  • Creating base types
  • Published Content
  • Culture support
  • Metrics
  • Published Media
  • Dictionary
  • API Tokens (OAUTH) with permissions (for content types and properties)
  • Data Types
  • Document Types
  • Media Types
  • Member Types
  • Content
  • Media
  • Members
  • Documentation
  • Subcription of content
  • Dashbord in Umbraco?

About

Make Umbraco headless using GraphQL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 87.7%
  • HTML 12.1%
  • Other 0.2%