/bibletags-data

Original language Bible study for everyone.

Primary LanguageJavaScriptMIT LicenseMIT

Bible Tags

About

Original language Bible study for everyone, in every language.

Vision: That every Christian might have free access to the Bible tagged to the original Hebrew, Aramaic and Greek with parsing and lexical information—all in their own language.

For more information on this project, see the Bible Tags website.

Repos

Bugs

bibletags-data

Basic information

  • Receives graphql requests
  • Built with express
  • Uses a mysql db that lives on aws rds
  • Deployed to AWS Lambda using Serverless

Development

Note that a local MySQL 8 database install is required.

Installation

git clone https://github.com/educational-resources-and-services/bibletags-data
git clone https://github.com/educational-resources-and-services/bibletags-usfm
cd bibletags-data
cp .env.example .env

Create a local MySQL database called BibleTags with utf8mb4 encoding and utf8mb4_bin collation. Update RDS_USERNAME and RDS_PASSWORD in .env to access this database.

npm install
npm run setup-db

Testing

npm run test

Updating /src/db/connect.js

After making edits to this file, run the following:

npm run update-db