Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
db
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Bible API GraphQL - WIP

Known Vulnerabilities

Install

npm install

Run

npm start

Develop

npm run dev

Use

Request http://localhost:3333/graphql

{
  passage(reference: "Gen 1:1") {
    verse
  }
}

Response

{
  "data": {
    "passage": {
      "verse": "In the beginning God created the heaven and the earth."
    }
  }
}

Database

Start MongoDB

mongod --dbpath ./data/db

Import data

mongoimport --db bibleapi --collection bible --type json --file /seed/asv.json

About

Node.js based Bible API GraphQL web service

Topics

Resources

License

Releases

No releases published

Packages

No packages published