Development โ
BibleUp uses Api.bible to internally fetch Bible passages. This service needs an API key for authorization before it can be used.
BibleUp private key is not accessible on the Github repository. To setup BibleUp on your local machine, follow the steps below:
- After cloning the repo, go to the
helperfolder located underbibleup/js
bash
cd {rootDir}/bibleup/js/helperCreate a new file and name it
config.jsExport variable
apiKeywith the following value as default.
js
\\ config.js
const apiKey = 'fdb2ae39e9ef1fd8da12e40281267b2e'
export default apiKeyThe exported value: fdb2ae39e9ef1fd8da12e40281267b2e is the test API Key for using BibleUp locally.
BibleUp Regex โ
BibleUp uses two internal regexes to test and match Bible refernces. There is a full regex used to match any reference at a go. The verse regex then matches every separate range and parts.
