Successor of my old [TheDiary] (https://github.com/barthap/TheDiary).
Other name ideas:
- The Story Archive
- The Interactive Story
- Story Interactive
- Interactive Story Archive
- ???
- Implement DataLoader
- For entities
- For references (make group queryies)
- Structure App Context
- Move current context to data
- Make ability to choose global/per-request
- Add koa request context
- Automatic data migrations
- File upload and storage
- Integration tests
- Mutations (after migrations to be able to reset data)
- Mutations for rest entities
- Entity updates
- Move to monorepo structure (yarn workspaces / lerna) - packages client + server
- Docker deployment
- CI
- Web Frontend
- Add full example story
- Direnv
- A Postgres database
- Install dependencies:
yarn install
-
Go to
.direnv/local
and copy.envrc.example
into.envrc
. Open the file and provide database connection info. -
Run the database migrations by running
yarn migrate
.
Start the server:
yarn start
Then the GraphQL playground will be available at http://localhost.3009/graphql