bloql
Blog engine powered by React using Relay and GraphQL to interact with data.
Usage
-
Install
bloql
package and a bloql retriever to get files:npm install bloql bloql-markdown-file-database --save -
Create a backend to serve blog posts:
var path = ;var express = ;var bloql = ;const app = ;;...app;(for now only available for
express
) -
Now you're all set to use bloql on the client:
;;;{// Render your post list using all react components you wantreturn<ul>thispropspostsedges</ul>;}// Convert your component into a Bloql elementPostList = ;// You can place your component anywhere in any application and// combine it with other React componentsReactDOM;
Have a look there for minimal and understandable examples: bloql-examples