项目作者: motapinto

项目描述 :
Marketplace GraphQL API using Type-GraphQL and ArangoDB. Check the API documentation below!
高级语言: TypeScript
项目地址: git://github.com/motapinto/marketplace-graphql-api.git
创建时间: 2021-01-26T11:48:37Z
项目社区:https://github.com/motapinto/marketplace-graphql-api

开源协议:

下载


API usage instructions

Documentation

Visit the API schema here!

Info

To edit the database configuration change the .env file in /api/.env with the following structure:

DATABASE_NAME=farmland\
DATABASE_USER=root\
DATABASE_PASS=rootpassword\
DATABASE_URL=http://arangodb:8529

Note: This is the default configuration

How to use

Testing

Steps to reproduce tests:

  1. Run arangodb (docker-compose up -d arangodb)
  2. Run tests (npm run test:dev in /api/)

Disclaimer: This API does not have extensive validation and was developed as a learning project