Public
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

Let Him Cook

Query database (instantdb) with natural langauge in email. This just a demo sometimes can be inconsistent.

Email: vawogbemi.lhc@valtown.email

image.png

const _schema = i.schema({
      entities: {
        $users: i.entity({
          email: i.string().unique().indexed(),
        }),
        goals: i.entity({
          title: i.string(),
        }),
        todos: i.entity({
          title: i.string(),
        }),
      },
      links: {
        goalsTodos: {
          forward: {
            on: "goals",
            has: "many",
            label: "todos",
          },
          reverse: {
            on: "todos",
            has: "many",
            label: "goals",
          },
        },
      },
    })

image.png

image.png