keystonejs Questions

3

Solved

I have some images in url(s). I can get file properties and properties include width and height of image as well. I want to get the size in bytes. I am trying to get size using fs module as shown ...
Rundle asked 3/4, 2018 at 14:15

2

Solved

I have the following json object: var partners =[{ "name":"partnerx", "image": "imagex" }, { "name": "partnery", "image": "imagey" }] I want to put into a ul object using jade and I tried: ul#...
Omasum asked 19/6, 2014 at 21:48

2

Context: I have a simple Next.js and KeystoneJS app. I've made duplicate deployments on 2 AWS EC2 instances. Each instance also has an Nginx reverse proxy routing port 80 to 3000 (my apps port). Th...

5

Solved

I am connecting to MongoDB Atlas and getting authentication fail error. that is my connection string: mongodb://user:<password>@mongo-cluster-shard-00-00-ixqtu.mongodb.net:27017,mongo-clust...
Eudemonia asked 27/4, 2019 at 17:9

1

I am creating a Next.js blog that uses an API created with KeystoneJS. I am extremely confused by how I can get an individual post on a dynamic route from the post's slug. The Query This is how I t...
Bowline asked 21/1, 2021 at 14:38

3

Solved

I'm leaning towards the idea that I'd use Keystone (as-is) for a standard, server-driven multi-page app and strapi when i want to stick Vue/React/Angular on the front-end for a SPA? Since it has a ...

1

Tried spending some time researching this but the docs on keystone.js are a little light on this. Googling leads me to some github discussions on implementing React in core Keystone and creating an...
Perishing asked 14/12, 2016 at 20:1

2

I'm having a hard time removing the newline between elements in an each statement in a pug js template (formerly jade) My code looks like this. I'd like to have no whitespace between the li elemen...
Tommietommy asked 19/7, 2017 at 6:53

3

Issue I have an Express (Node.JS) + MongoDB app with a server response load time of 4 - 7 seconds on average (slow). I understand that the average server response time is under 200ms as per googl...
Emeric asked 11/8, 2018 at 17:11

2

I try to customize Keystonejs Admin UI theme: change primary colors, etc. So I'm going to override keystone.less which is located in node_modules: . |____node_modules | |____keystone | | |____pub...
Hofuf asked 6/12, 2017 at 16:25

1

Solved

I am using Parse Dashboard for User Management of my iOS Application.Also, I am using external APIs which are using MongoDB database. The issue currently I am facing is the User created from Parse...
Arango asked 3/10, 2017 at 9:46

2

It's not clear in the docs how one would use existing Keystone models to expose API endpoints that return json within a Keystone.js app. I would simply like to be able expose REST API endpoints wit...
Angelitaangell asked 20/3, 2015 at 19:54

2

Solved

We are using keystone frame work in one of our project and i am trying to use .env file variable to one of my .js file to connect with http site.I have used dotenv and called process.env.xxyz where...
Dnieper asked 6/1, 2017 at 7:31

1

After updating the project dependencies I started facing the error. Browserify has problem parsing my JS code, which is written in ES6. Browserify seems to expect ES5. I don't understand, why the ...
Scrabble asked 3/1, 2017 at 14:21

2

Solved

I've recently installed a nodejs app (keystone) app in my home/myusername/myappname directory. When I visit www.mydomain.com, nothing displays - even after turning on my nodejs app. Where should ...
Almedaalmeeta asked 22/11, 2016 at 15:46

1

Solved

I first used the following link to create a new Keystone app from Heroku: https://dashboard.heroku.com/new?button-url=https%3A%2F%2Ft.co%2FjbNu7UtZpn&template=https%3A%2F%2Fgithub.com%2FJedWat...
Flattery asked 29/3, 2016 at 6:59

2

Working on a project in KeystoneJS and I'm having trouble figuring out the mongoose relationship bit. According to the keystone docs, let's say we have the following models: User and Post. Now a p...
Sexpot asked 12/6, 2014 at 13:58

3

Solved

I'm new to keystone and am trying to deploy a simple website template to familiarise myself with the technology, I have downloaded all the necassary modules and created a keystone.js file and packa...
Ladysmith asked 3/10, 2014 at 13:0

2

Solved

I'm working on a site built in KeystoneJS that allows users to post words and get suggested synonyms from other users. Words are submitted as part of a phrase or sentence, like "The cat was [perilo...
Laurin asked 7/1, 2016 at 21:25

1

Solved

I'm having troubles trying to hide the ID column, auto-generated by Keystone List template. Is there a way to suppress this column? The documentation is pretty scant covering only basic usage of th...
Pressley asked 20/10, 2015 at 14:19

2

I am new in htaccess. I am using Keystone.js, using which I developed a blog which is listening on port 3000. Like this: https://localhost:3000 Everything is fine now. But what I want is that my...
Joaquin asked 9/6, 2015 at 13:19

1

Solved

I need to populate two levels down with Mongoose / Keystone, but have hit a road block. I have 3 models: Region, Country and City. Regions contains countries and countries contain cities. ...
Rile asked 24/8, 2015 at 5:9

2

I am writing an API using node.js,express and mongodb, which will be used in another server. I just want only that server (or some more in the future) to be able to access my API. How can I do that...
Larrabee asked 29/7, 2015 at 5:54

1

Solved

How can I create the array of strings in Keystone.js Database ODM? I have to create new model with single field and make a many:true relationship with him only?
Rosenkranz asked 20/3, 2014 at 13:45

2

Solved

Is it possible to limit available displayed options in a relationship type of KeystoneJS by specifying a value condition? Basically, a model has two sets of array fields, instead of letting the ad...
Ipsambul asked 14/5, 2014 at 22:38

© 2022 - 2024 — McMap. All rights reserved.