Skip to content

Marketplace GraphQL API using Type-GraphQL and ArangoDB. Check the API documentation below!

Notifications You must be signed in to change notification settings

motapinto/marketplace-graphql-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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