FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
vawogbemi
vawogbemilhc
Public
Like
1
lhc
Home
Code
2
README.md
E
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Settings
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
1/16/2025
README.md

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

Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.