Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/crispgm/word-kanban

:blue_book: A simple Kanban-like word book
https://github.com/crispgm/word-kanban

auth0 auth0-jwt kanban nodejs preact

Last synced: about 1 month ago
JSON representation

:blue_book: A simple Kanban-like word book

Awesome Lists containing this project

README

        

# [Word Kanban](https://word-kanban.herokuapp.com/)

[![travis](https://api.travis-ci.org/crispgm/word-kanban.svg?branch=master)](https://travis-ci.org/crispgm/word-kanban)

A simple Kanban-like word book, which is entirely written with Node. The user system is powered by Auth0. All the icons are actually emojis.

And we use Preact stacks for client side.

For demo use, please visit here .

## Development

Clone & Init

```shell
$ git clone https://github.com/crispgm/word-kanban.git
$ yarn install
```

Migrate

```shell
$ node_modules/.bin/sequelize db:migrate
```

Build

```shell
$ yarn dev-build
```

Run

```shell
$ GOOGLE_TRANSLATE_API_KEY=your-google-api-key yarn start
```

Note: You may run without a `GOOGLE_TRANSLATE_API_KEY`. However, the hover translation will definitely not work.

## Deploy with Heroku

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/crispgm/word-kanban)

Create app

```shell
$ heroku create your-app-name
$ heroku git:remote -a your-app-name
```

Set config vars

```shell
$ heroku config:set NPM_CONFIG_PRODUCTION=false
$ heroku config:set GOOGLE_TRANSLATE_API_KEY=your-google-api-key
$ heroku config:set TOKEN_PRIVATE_KEY=your-private-token
```

Create DB

```shell
$ heroku addons:add heroku-postgresql:dev
$ heroku config:set DATABASE_URL=your-database-url
```

Migrate

```shell
$ heroku run bash
$ cd server
$ sequelize db:migrate
```

## License

MIT License.

Copyright (c) 2020 David Zhang.