diff --git a/README.md b/README.md index e4acb2c..27be58a 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ # tracker -# !important to run application you need a local or remote mysql connection +# SETUP The connection parameters can be set in the file src/main/resources/application.properties. The MYSQL setup script can be found in SQL, alternatively you can use hibernate to create the tables. Fill in your parameters for 'password', 'username', 'host' and 'db' or delete them all and have hibernate create tables for you. +# Postman collection +Postman collection can be found in postman folder # Introduction This project uses Quarkus, the Supersonic Subatomic Java Framework. diff --git a/postman/Tracker.postman_collection.json b/postman/Tracker.postman_collection.json new file mode 100644 index 0000000..3e3d63b --- /dev/null +++ b/postman/Tracker.postman_collection.json @@ -0,0 +1,80 @@ +{ + "info": { + "_postman_id": "c1951f60-c409-4437-8353-e57e46efb23e", + "name": "Tracker", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "23599679" + }, + "item": [ + { + "name": "user_register", + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation { \r\n \"username\": \"user\",\r\n \"password\": \"test\"\r\n}", + "variables": "" + } + }, + "url": { + "raw": "http://localhost:8080/graphql", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8080", + "path": [ + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "test", + "request": { + "auth": { + "type": "basic", + "basic": [ + { + "key": "password", + "value": "test", + "type": "string" + }, + { + "key": "username", + "value": "user", + "type": "string" + } + ] + }, + "method": "POST", + "header": [], + "body": { + "mode": "graphql", + "graphql": { + "query": "{ test }", + "variables": "" + } + }, + "url": { + "raw": "http://localhost:8080/graphql", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8080", + "path": [ + "graphql" + ] + } + }, + "response": [] + } + ] +} \ No newline at end of file