Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrtnzlml-archive/connector
:octopus: GraphQL API backend writen with DDD in mind
https://github.com/mrtnzlml-archive/connector
api ddd graphql nette-framework php
Last synced: about 2 months ago
JSON representation
:octopus: GraphQL API backend writen with DDD in mind
- Host: GitHub
- URL: https://github.com/mrtnzlml-archive/connector
- Owner: mrtnzlml-archive
- License: mit
- Archived: true
- Created: 2016-05-17T08:18:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-23T20:32:46.000Z (over 7 years ago)
- Last Synced: 2024-09-23T20:03:27.286Z (about 2 months ago)
- Topics: api, ddd, graphql, nette-framework, php
- Language: PHP
- Homepage: http://zlml.cz/
- Size: 1.46 MB
- Stars: 14
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/adeira/connector.svg?branch=master)](https://travis-ci.org/adeira/connector)
This is backend GraphQL API server for [adeira/connector-frontend](https://github.com/adeira/connector-frontend) written in Nette Framework.
If you want to play with the API from the CLI you should first create database and create new user account. Create new database and migrate it to the latest version using command `bin/console migrations:continue`. Create new user with command `bin/console a:u:c `. It should return green message with UUID.
There is only one endpoint URL address `/graphql`. Use tools like [GraphiQL](https://github.com/adeira/connector-graphiql) to run queries and mutations against this server.
## Working with CLI interface
bin/console
## Working with UUID
vendor/bin/uuid
vendor/bin/uuid generate 4
vendor/bin/uuid decode 4b56376a-19f7-4f98-a610-62ded75ea486## Running tests
tests/run
Or alternatively with all checks:
bin/ci
Have fun! :)