Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mxro/keystone-playground

Getting to know Keystone Js 5
https://github.com/mxro/keystone-playground

Last synced: about 2 months ago
JSON representation

Getting to know Keystone Js 5

Awesome Lists containing this project

README

        

# KeystoneJS Todo Getting Started

This project extends and modifies the [KeystoneJS Getting Started example](https://www.keystonejs.com/quick-start/) to show how to run the simple To Do list example using Docker and Postgres.

To run the example, follow these steps:

- Install NodeJs dependencies

```
npm i
```

- Start Postgres database server (using Docker)

```
./db-start.sh
```

- Initialise database on Postgres

```
./db-init.sh
```

- Run example

On Windows (using [Cmdr](https://cmder.net/))

```
bash start-win.sh
```

On Mac OS

```
./start-mac.sh
```

Now the example should be running:

To Do App: http://localhost:3000/

Keystone Admin UI: http://localhost:3000/admin

GraphQL Playground: http://localhost:3000/admin/graphiql

GraphQL API: http://localhost:3000/admin/api

- Stop database when done

```
./db-stop.sh
```

Also see the related [blog post](https://maxrohde.com/2020/02/23/keystonejs-5-quick-review/).