dcousens on point-readme-to-ks6
dcousens on master
Point keystone-classic readme t… don't dance around the wording Merge pull request #5008 from k… (compare)
dcousens on point-readme-to-ks6
don't dance around the wording (compare)
Noviny on point-readme-to-ks6
Point keystone-classic readme t… (compare)
bladey on master
Update README.md (compare)
bladey on master
Update README.md (compare)
http://localhost:3000/admin
relation "public.user" does not exist
const users = {
adapterConfig: {
tableName: 'users'
},
fields: {
email: {
type: Text
},
},
};
keystone.createList('user', users)
Cannot read property 'find' of undefined
Hi team, I tried to create the todo app using the npm init keystone-app my-app and selected postgresl… Getting the issue Connecting to database
{ Error: Cannot read property 'find' of undefined… So modified the index.js with const PROJECT_NAME = "keystonetodo";
const options={
client: 'postgres',
connection: 'postgres://postgres:psssword@localhost:5432/keystonetodo'
}
const keystone = new Keystone({
name: PROJECT_NAME,
adapter: new Adapter(options),
}); and when i run npm run dev and still getting the issue
I'm trying to add custom pages to my PoC and I have the following code:
new AdminUIApp({
name: PROJECT_NAME,
enableDefaultRoute: true,
authStrategy,
pages: require.resolve('./admin/pages.js')
}),
export default {
pages: () => [
{
label: 'Insights',
children: [
{ listKey: 'article' },
{ listKey: 'articleCategory', label: 'Categories' },
],
},
]
};
/dist/admin/secure/
and there is only an index.html and a js folder with tons of js files
Hi, I want to build an order tracking software and i need to create PDF file related to order when needed.
Is this the right way to go?
https://github.com/keystonejs/keystone/blob/main/examples/rest-api/keystone.ts
extendExpressApp: (app, createContext) => {
app.use('/rest', async (req, res, next) => {
(req as any).context = await createContext(req, res);
next();
});
app.get('/rest/tasks', getTasks);
},
npm init keystone-app
project?