Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mxro/keystone-playground
- Owner: mxro
- License: mit
- Created: 2020-02-23T00:07:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-15T05:30:24.000Z (over 3 years ago)
- Last Synced: 2023-03-23T12:50:15.341Z (almost 2 years ago)
- Language: JavaScript
- Size: 2.84 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/).