Questions tagged [keystonejs]

742 questions
3
votes
2 answers

Graphql Bad Request on page load

Hello Everyone and Happy Holidays, I'm building a website with KeystoneJS and NextJS. I have added Apollo Client in between. However, I'm having an issue with Apollo Client now. I have tried different places to put in as well but the result was the…
Bora ALAP
  • 269
  • 3
  • 13
3
votes
1 answer

Keystone.JS API User Authentication (not Admin-UI)

I would like to restrict my GraphQL API with User Authentication and Authorization. All Keystone.JS documentation is talking about AdminUI authentication, which I'm not interested in at the moment. Facts: I want to have some social logins (no basic…
deltakroneker
  • 541
  • 1
  • 4
  • 16
3
votes
1 answer

Keystone js dynamic select field

I used Select field but creating with manual select option.I have categories list and I want to create another list which includes category field.I would like to do it with fetching all categories into my Select field to choose which category I…
Roa
  • 437
  • 4
  • 14
3
votes
3 answers

How can one upload an image to a KeystoneJS GraphQL endpoint?

I'm using TinyMCE in a custom field for the KeystoneJS AdminUI, which is a React app. I'd like to upload images from the React front to the KeystoneJS GraphQL back. I can upload the images using a REST endpoint I added to the Keystone server --…
Cerulean
  • 5,543
  • 9
  • 59
  • 111
3
votes
1 answer

How does one upload an image from TinyMCE to an Apollo GraphQL server?

I've written a custom field for KeystoneJS's AdminUI which uses TinyMCE's editor. KeystoneJS runs an Apollo GraphQL Server underneath and auto-generates mutations and queries based on your CMS schema. TinyMCE has the capability to enter custom…
Cerulean
  • 5,543
  • 9
  • 59
  • 111
3
votes
1 answer

How can one get a complete GraphQL schema from an Apollo Server endpoint?

I'm writing a GraphQL interface between GraphQL and REST services using Apollo Server. This interface will provide a single GraphQL endpoint for an Apollo Client front. The single service at the moment is a KeystoneJS app which provides a GraphQL…
Cerulean
  • 5,543
  • 9
  • 59
  • 111
3
votes
1 answer

How does one use the "Content" field type in KeystoneJS?

How does one use the Content field type in KeystoneJS? I've put the following in my index.js, following the example given in the link above: keystone.createList('Todo', { schemaDoc: 'A list of things which need to be done', fields: { …
Cerulean
  • 5,543
  • 9
  • 59
  • 111
3
votes
1 answer

Why is keystonejs throwing an unknown list error on startup in this example?

I've made a small project using keystone with two lists: User and Post. The Admin UI gives me no problem, but querying either list throws an error (in this case, for Posts) ReferenceError: Unknown keystone list "Post" Checking my mongo database…
3
votes
2 answers

How to integrate KeystoneJs with Sentry.io

I integrated projects on other platforms with Sentry before and it is quite simple. But at this time, I'm using KeystoneJs, which is created on the top of Express. Sentry offers this tutorial to let Express users integrate their applications with…
Vinicius Ronconi
  • 181
  • 1
  • 10
3
votes
1 answer

Custom Format not working in 'wysiwyg additional options'

I am using the latest Keystone.js and following is my Keystone.init var keystone = require('keystone'); keystone.init({ 'name': 'Dashboard', 'user model': 'User', 'auto update': true, 'auth': true, 'cookie secret': 'secure…
viCky
  • 854
  • 1
  • 9
  • 21
3
votes
0 answers

How to add clickable link on admin side in keystonejs

In keystonejs, I want to add a link on admin side. lets say I have type string or type url as shown, but both show text box on admin side link: { type: String} url: {type: Types.Url} Is there any property that I can use to add link that open a new…
Umair Jameel
  • 1,573
  • 3
  • 29
  • 54
3
votes
1 answer

How to specify multiple fields in Keystone.js List Map?

Want to know how to specify multiple fields in Keystone.js List Map. For example, based on the Keystone Data Model documentation: http://keystonejs.com/docs/database/ var keystone = require('keystone'), Types = keystone.Field.Types; var Post =…
Thomas Choy
  • 321
  • 2
  • 13
3
votes
0 answers

How to populate custom React component in Keystone Admin

We're using Keystone (version 4.0.0-beta.8) as our Node.js CMS for the first time for a project and we're really liking it. However we're running into a vital missing feature of the CMS and that is adding custom components to the admin views. What…
Twansparant
  • 171
  • 2
  • 13
3
votes
0 answers

Is there any guide for making KeystoneJS to work with PostgreSQL database?

KeystoneJS looks like a great CMS framework, however it claims to work with MongoDB only. Do you think it's technically feasible to make KeystoneJS support PostgreSQL with the least effort? Is there any guide related to it?
Nothize T
  • 137
  • 1
  • 6
3
votes
1 answer

improve mongo query performance

I'm using a node based CMS system called Keystone, which uses MongoDB for a data store, giving fairly liberal control over data and access. I have a very complex model called Family, which has about 250 fields, a bunch of relationships, and a dozen…
autoboxer
  • 1,358
  • 1
  • 16
  • 37