Skip to content

romandueck/bibleapi-graphql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bible API GraphQL - WIP

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%