<img src="https://www.openbookpublishers.com/shopimages/thoth.png" alt="Thoth" height="500" />
> GraphQL API for bibliographic data
[](https://travis-ci.org/openbookpublishers/thoth)
[](https://github.com/openbookpublishers/thoth/releases)
[](https://crates.io/crates/thoth)
[](https://github.com/openbookpublishers/thoth/blob/master/LICENSE)
---
## Requirements
- [Rustup](https://rustup.rs/)
- Stable Toolchain: `rustup default stable`
- A PostgreSQL database (included in docker-compose.yml if ran using docker)
## Getting Started
### With docker
```sh
git clone https://github.com/OpenBookPublishers/thoth.git
cd thoth
cp .env.example .env # Edit the credentials in .env
docker-compose up
```
### With rust
```sh
git clone https://github.com/OpenBookPublishers/thoth.git
cd thoth
cp .env.example .env # Edit the credentials in .env
cargo run init
```