• Stars
    star
    14,641
  • Rank 2,022 (Top 0.04 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 11 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Node.js CMS and web app framework

⚠️ Archived ⚠️

Keystone classic is not receiving any new updates.

We recommend using Keystone 6 for new projects.



KeystoneJS

Build Status

About Keystone

KeystoneJS is a powerful Node.js content management system and web app framework built on the Express web framework and Mongoose ODM. Keystone makes it easy to create sophisticated web sites and apps, and comes with a beautiful auto-generated Admin UI.

Check out our demo site to see it in action.

Documentation

For Keystone v4 documentation and guides, see keystonejs.com.

For Keystone v0.3 documentation, see v3.keystonejs.com.

Getting Started

This section provides a short intro to Keystone. Check out the Getting Started Guide in the Keystone documentation for a more comprehensive introduction.

Installation

The easiest way to get started with Keystone is to use the Yeoman generator:

$ npm install -g generator-keystone
$ yo keystone

Answer the questions, and the generator will create a new project based on the options you select, and install the required packages from npm.

Alternatively, to include Keystone in an existing project or start from scratch (without Yeoman), specify keystone: "4.0.0" in the dependencies array of your package.json file, and run npm install from your terminal.

Then read through the Documentation and the Example Projects to understand how to use it.

Configuration

Config variables can be passed in an object to the keystone.init method, or can be set any time before keystone.start is called using keystone.set(key, value). This allows for a more flexible order of execution. For example, if you refer to Lists in your routes you can set the routes after configuring your Lists.

See the KeystoneJS configuration documentation for details and examples of the available options.

Database field types

Keystone builds on the basic data types provided by MongoDB and allows you to easily add rich, functional fields to your application's models.

You get helper methods on your models for dealing with each field type easily (such as formatting a date or number, resizing an image, getting an array of the available options for a select field, or using Google's Places API to improve addresses) as well as a beautiful, responsive admin UI to edit your data with.

See the KeystoneJS database documentation for details and examples of the various field types, as well as how to set up and use database models in your application.

Running KeystoneJS in Production

When you deploy your KeystoneJS app to production, be sure to set your ENV environment variable to production.

You can do this by setting NODE_ENV=production in your .env file, which gets handled by dotenv.

Setting your environment enables certain features (including template caching, simpler error reporting, and HTML minification) that are important in production but annoying in development.

Community

We have a friendly, growing community and welcome everyone to get involved:

  • Follow @KeystoneJS on twitter for news and announcements.
  • Ask technical questions on Stack Overflow and tag them keystonejs.
  • Report bugs and feature suggestions on our GitHub issue tracker.
  • Join the KeystoneJS Slack for general discussion with the Keystone community and contributors.

We love to hear feedback about Keystone and the projects you're using it for. Ping us at @KeystoneJS on Twitter.

Contributing

If you can, please contribute by reporting issues, discussing ideas, helping answer questions from other developers, or submitting pull requests with patches and new features. We do our best to respond to all issues and pull requests, and make patch releases to npm regularly.

If you're going to contribute code, please follow our coding standards and read our Contributing Guide.

Related Projects

If you are using KeystoneJS in any projects we encourage you to add to our Related Projects Page. This is also the place to find generators and other projects that bundle KeystoneJS.

Thanks

KeystoneJS is a free and open source community-driven project. Thanks to our many contributors and users for making it great.

Keystone's development has been led by key contributors including Jed Watson, Joss Mackison, and Max Stoiber and is proudly supported by Thinkmill in Sydney, Australia.

License

(The MIT License)

Copyright (c) 2016-2019 Jed Watson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

keystone

The most powerful headless CMS for Node.js — built with GraphQL and React
TypeScript
9,024
star
2

keystone-demo

Less
931
star
3

generator-keystone

⚠️ Archived - Legacy KeystoneJS project generator for Yeoman
JavaScript
335
star
4

generator-keystone-react

⚠️ Archived - Legacy Yeoman generator for a KeystoneJS / React.js boilerplate project
JavaScript
87
star
5

keystone-5

JavaScript
65
star
6

storage

Storage.js is a Javascript library that gives you an easy and standardised access to any provider of your choice.
JavaScript
60
star
7

keystone-utils

⚠️ Archived - Legacy Node.js utility library used by KeystoneJS and you!
JavaScript
56
star
8

prisma-day-2021-workshop

Resources for Jed's Prisma Day 2021 Workshop
TypeScript
46
star
9

keystone-jamstack-plus

⚠️ Archived - Legacy Project
JavaScript
45
star
10

grappling-hook

Hooks for pre/post events used by KeystoneJS
JavaScript
42
star
11

create-keystone-app

CLI app that makes it easy to get started with Keystone
TypeScript
40
star
12

universal-keystone-boilerplate

⚠️ Archived - Legacy Keystone.JS boilerplate for Universal JavaScript projects using React.
JavaScript
34
star
13

keystone-graphql

⚠️ Archived - Legacy GraphQL Helpers for use with KeystoneJS
JavaScript
33
star
14

keystonejs-site

⚠️ Archived - Legacy keystonejs.com site and docs
Pug
31
star
15

keystone-starter

⚠️ Archived - Legacy Starter Project for Heroku (or any other) deployment
JavaScript
30
star
16

keystone-email

⚠️ Archived - Legacy email helper for KeystoneJS Apps
JavaScript
29
star
17

keystone-test-project

⚠️ Archived - Legacy KeystoneJS Project with various configurations for development and testing purposes
JavaScript
25
star
18

keystone-nightwatch-e2e

⚠️ Archived - Legacy end-to-end test framework for KeystoneJS applications.
JavaScript
17
star
19

keystone-storage-adapter-s3

⚠️ Archived - Legacy S3 Storage Adapter for KeystoneJS
JavaScript
17
star
20

keystone-6-railway-example

A simple example project showing how you might deploy Keystone 6 to Railway
TypeScript
15
star
21

eslint-config-keystone

⚠️ Archived - Legacy Shareable ESLint Config for Keystone's Coding Standards
JavaScript
15
star
22

keystone-6-heroku-example

A simple example project of showing how you might deploy Keystone 6 to Heroku
TypeScript
15
star
23

keystone-healthchecks

⚠️ Archived - Legacy Keystone Healthchecks Framework
JavaScript
9
star
24

keystone-react-todo-demo

TypeScript
7
star
25

keystone-storage-namefunctions

⚠️ Archived - Legacy utility functions for generating file names.
JavaScript
6
star
26

keystone-storage-adapter-azure

⚠️ Archived - Legacy Azure Storage Adapter for KeystoneJS
JavaScript
6
star
27

eslint-config-keystone-react

⚠️ Archived - Legacy Shareable ESLint Config for Keystone's Coding Standards with React Extensions
JavaScript
3
star
28

keystone-frontend-example

An example project of a keystone 6 app with a next frontend for use in lessons
TypeScript
3
star
29

keystone-metrics

⚠️ Archived - Legacy Keystone Metrics Tracking Package
JavaScript
2
star
30

fields-test-harness

⚠️ Archived - Legacy Project
JavaScript
1
star