Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.
/ EDCM-API Public archive

Simple app that provides GraphQL API with commodities data from EDDN

License

Notifications You must be signed in to change notification settings

RDaneliya/EDCM-API

Repository files navigation

EDCM-API

This is graphql app for populating price data from EDDN into mongodb database and querying it.

Feel free to contribute and opening issues

GraphQL API

How to use it

How to use this app without docker

  1. Clone this repo
  2. Run npm install
  3. Put PORT and MONGO_LINK vars to .env file
  4. Run npm start.

With docker

  1. Pull image vantys/edcm:latest
  2. Put PORT and MONGO_LINK vars to .env file
  3. Build docker container

With docker-compose in repo

  1. Put PORT and MONGO_LINK vars to .env file
  2. Run docker-compose --env-file ./.env up

Schemas

Mongodb schema could be found at database/init-mongo.js