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

https://github.com/otseng/simple-unique-bible-app

Simple UBA viewer written in React
https://github.com/otseng/simple-unique-bible-app

Last synced: 11 months ago
JSON representation

Simple UBA viewer written in React

Awesome Lists containing this project

README

          

# Simple GUI viewer for Unique Bible App

The UI is a javascript app using [react.js](https://reactjs.org/) and [next.js](https://nextjs.org/). It retrieves data using API calls to [UBA](https://github.com/eliranwong/UniqueBible).

## Setup

* Install [node](https://nodejs.dev/en/download/)
* Mac: `brew install node`
* Install [yarn](https://www.npmjs.com/package/yarn)
* Mac: `npm i -g yarn`
* Run `yarn` to install all the dependencies
* Install [Unique Bible App]([UBA](https://github.com/eliranwong/UniqueBible))

## Running in local dev mode

Start UBA in [API server mode](https://github.com/eliranwong/UniqueBible/wiki/Running-in-API-server-mode):
* `python3 uba.py api-server`

Verify API server works:
* http://localhost:8080/bible

Start GUI:
* `yarn run dev`

Open browser:
* http://localhost:3000/

## Prod deployment

* `yarn`
* `yarn run build`
* `yarn run export`