GithubHelp home page GithubHelp logo

timlit / blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blazingapple/blog

0.0 0.0 0.0 15.04 MB

A Blazor WASM Wordpress Razor Side Library that simplifies access to WordPress's JSON APIs

License: MIT License

C# 20.54% CSS 8.08% HTML 63.66% SCSS 7.72%

blog's Introduction

BlazingApple.Blog ๐ŸŽ

๐Ÿ”ฅ A totally copacetic, easy-to-use front-end Blazor WordPress Rendering Blog package. This front-end Razor Class Library is intended to be used by Blazor WASM projects, and targets .NET 5. It easily allows you to render your WordPress Blogs.

About BlazingApples

BlazingApples is an open-source set of packages that aims to speed application development for Blazor WebAssembly organizations.

โšก Check out the demo site here, or this blog post on how the components work!

๐Ÿ‘ Special thanks to wp-Net for creating the WordPressPCL API service on which this library primarily consumes.

Demo ๐Ÿ“น

Demo of BlazingApple.Survey

Installation ๐Ÿ”ง

1. Get the required dependencies.

  1. On Client Project, right click and get to the NuGet Package Manager ("Manage NuGetPackages").
  2. Install WordPressPCL. This provides the client service to request data from your site.
  3. Add the following to Program.cs's Main:
			builder.Services.AddScoped(pcl => new WordPressClient("https://old.taylorchasewhite.com/wp-json/"));
  1. Install BlazingApple.Blog. This provides the client components to render the requested data.

Blog Administration

Now you should be all set to use the components!

Usage ๐Ÿ’ช

Once the setup is complete, using the components is straightforward:

  1. In a component, inject the WordPressPCL client, @inject WordPressPCL.WordPressClient client.
  2. Add the <Blog Client="client"></Blog> component to render all the posts in your blog.

Credits ๐Ÿ’ฎ

Authors ๐Ÿ“

  1. Taylor White

License ๐Ÿ“œ

License: GPL v2

Blog Home ๐Ÿ“ท

Survey Administration

Categories (Pages Looks Similar) ๐Ÿ“ท

Taking a Survey

Posts For a Category ๐Ÿ“ท

Survey Responses

blog's People

Contributors

taylorchasewhite avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.