Trying out basic.tech with a very basic blog + comment schema
"post": {
"type": "collection",
"fields": {
"title": {
"type": "string",
"indexed": true
},
"body": {
"type": "string",
"indexed": true
}
}
},
"comment": {
"type": "collection",
"fields": {
"post_id": {
"type": "string",
"indexed": true
},
"body": {
"type": "string",
"indexed": true
}
}
}
npm install;
cp .env.example .envThen set variables in .env
npm run dev