Skip to content

Latest commit

 

History

History
88 lines (73 loc) · 3.45 KB

README.md

File metadata and controls

88 lines (73 loc) · 3.45 KB

Genie App

Genie App is a set of tools that make it easier to create a content manageable site with unique features.


Use any framework, meta framework, or language you want (React, Next, Remix, Astrol Svelte, Qwik, Vue, Solid or even something like HTMX with a Go backend)


❗Genie App is early on so creating the stack is manual process... for now❗

❗See https://brown-dog-biscuits.pages.dev/ for an in progress example ❗

Features

Content Management

  • Get full featured API, GraphQL API, Authentication, Access Control, Image storage and more running on Cloudflare's global network

  • Powered by Sonic JS

Typescript/GraphQL Page API

import { graphql } from 'gql.tada';
import { GraphQLClient } from 'graphql-request';

// Create your query, with autocomplete!
const getProductsQuery = graphql(`
query Products {
  products {
    id
    title
    description
    image
    skus {
      id
      title
      description
      price
      size
    }
  }
}
`);

const graphQLClient = new GraphQLClient(
	'https://content.GENIEAPP.com/graphql'
);
// get your data, fully typed!
const data = await graphQLClient.request(getProductsQuery);
if (data?.products) {
	return {
		products: data.products
	};
}

Icon Background

Image API