Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

bundestag/bundestag.io

 
 

Repository files navigation

⚠️ ARCHIVED ⚠️

New Place: democracy-development (monorepo)

Screenshot

Bundestag.io  

This is a GraphQL API for data from bundestag.de.

Project structure

Getting started

Run the following:

git clone [email protected]:bundestag/bundestag.io.git
cd bundestag.io

Without docker

You need to have a MongoDB running as well as NodeJS installed on your system.

If you need further configuration, you can do:

cp .env.example .env

Change .env if necessary.

Once this is set up, run the following:

yarn install
yarn run dev

Now visit localhost:3100 and you should see the GraphQL playground.

Configuration

With docker

Run:

docker-compose up

Now visit localhost:3100 and you should see the GraphQL playground.

Usage

You can GraphQL queries in the GraphQL playground, e.g. try this query:

{
  procedures(limit: 30){
    title
    currentStatus
  }
}

License

Copyright © 2017-present DEMOCRACY Deutschland e.V.. This source code is licensed under the Apache 2.0 license found in the LICENSE file.


Made with ♥ by Team DEMOCRACY (democracy-deutschland.de), startnext contributors and contributors

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 96.1%
  • HTML 1.2%
  • Shell 1.2%
  • Other 1.5%