Cat Lexicon Server Prototype
I'm short on time again - had a wedding ceremony to attend last night and a reception to attend today - so today's another 5-minute throwaway. I set up a quick server prototype that I can run some basic curl commands to and from and that validates my lexicon schema. This is all local for now and not attached to a PDS, so URIs are fake.
lexicons.js:
import express from 'express'
import { TID } from '@atproto/common-web'
import { lex } from './lexicons.js'
const app = express()
const PORT = 3000
// In-memory storage for records
const records = new Map()
app.use(