Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marco-rosner/dadosjusbr-graphql

A GraphQL server to query the data from the DadosJusBR project. Using Apollo Server, DataSource, Express and Type GraphQL
https://github.com/marco-rosner/dadosjusbr-graphql

apollo-server dadosjusbr datasource express graphql graphql-server type-graphql

Last synced: 7 days ago
JSON representation

A GraphQL server to query the data from the DadosJusBR project. Using Apollo Server, DataSource, Express and Type GraphQL

Awesome Lists containing this project

README

        

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![genDocsGPT](https://img.shields.io/badge/Docs%20generated%20by-genDocsGPT-blue)](https://github.com/marco-rosner/genDocsGPT)

# DadosJusBr GraphQL

This project is a GraphQL server to query the data from DadosJusBR. Using Apollo Server, Express and Type GraphQL

## Docker Hub

To run this project using docker run this command:

```sh
docker pull marcorosner/dadosjusbr-graphql

docker run -p 4000:4000 -d marcorosner/dadosjusbr-graphql
```

## Project Setup

```sh
npm install
```

### Compile and Hot-Reload for Development

```sh
npm run start
```

## Prints

All Queries
![All Queries](./images/allQueries.png?raw=true "All Queries")

Get Agencies
![Get Agencies](./images/getAgencies.jpeg?raw=true "Get Agencies")

Get Data By Agency
![Get Data By Agency](./images/GetDatabyAgency.png?raw=true "Get Data By Agency")

Get Indexes
![Get Indexes](./images/getIndexes.png?raw=true "Get Indexes")

Get Aggregate Indexes
![Get Aggregate Indexes](./images/getAggregateIndexes.png?raw=true "Get Aggregate Indexes")