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
- Host: GitHub
- URL: https://github.com/otseng/simple-unique-bible-app
- Owner: otseng
- License: other
- Created: 2022-11-09T10:50:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T12:32:35.000Z (over 1 year ago)
- Last Synced: 2024-10-18T12:31:04.791Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://uniquebibleapp.com
- Size: 1.07 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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`