barthap / TheArchive

The interactive story archive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Archive

Successor of my old [TheDiary] (https://github.com/barthap/TheDiary).

Other name ideas:

  • The Story Archive
  • The Interactive Story
  • Story Interactive
  • Interactive Story Archive
  • ???

Roadmap

  • 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

Installation

Prerequisities

  • Direnv
  • A Postgres database
  1. Install dependencies:
yarn install
  1. Go to .direnv/local and copy .envrc.example into .envrc. Open the file and provide database connection info.

  2. Run the database migrations by running yarn migrate.

Running

Start the server:

yarn start

Then the GraphQL playground will be available at http://localhost.3009/graphql

About

The interactive story archive


Languages

Language:TypeScript 86.5%Language:PLpgSQL 11.2%Language:JavaScript 2.2%Language:Shell 0.1%