max-programming / atila.io

Home Page:https://atila.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Atila Fassina's website

Setup 🧱

Environment Variables
XATA_API_KEY=<xata api token>
XATA_FALLBACK_BRANCH=< default branch >
Database Schema
{
  "tables": [
    {
      "name": "articles",
      "columns": [
        {
          "name": "published_at",
          "type": "text"
        },
        {
          "name": "title",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "platform",
          "type": "string"
        },
        {
          "name": "url",
          "type": "string"
        }
      ]
    },
    {
      "name": "appearances",
      "columns": [
        {
          "name": "date",
          "type": "text"
        },
        {
          "name": "name",
          "type": "string"
        },
        {
          "name": "title",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "recording",
          "type": "string"
        },
        {
          "name": "slides",
          "type": "string"
        },
        {
          "name": "url",
          "type": "string"
        },
        {
          "name": "type",
          "type": "string"
        },
        {
          "name": "published",
          "type": "bool"
        },
        {
          "name": "isFuture",
          "type": "bool"
        },
        {
          "name": "place",
          "type": "string"
        }
      ]
    }
  ]
}

You can save the above snippted in a schema.json and push to your own Xata workspace:

pnpm dlx @xata.io/cli init --schema schema.json

Run It! 🔭

pnpm install && pnpm dev

Runs it locally on localhost:3000 🧑‍🚀

About

https://atila.io


Languages

Language:XSLT 59.3%Language:Astro 33.2%Language:TypeScript 3.6%Language:CSS 2.0%Language:JavaScript 1.8%