{"id":16989538,"url":"https://github.com/jottenlips/jazz-charts-api","last_synced_at":"2026-05-09T15:15:14.054Z","repository":{"id":36359600,"uuid":"223682332","full_name":"jottenlips/jazz-charts-api","owner":"jottenlips","description":"🎼 Simple API demonstrating Ariadne GraphQL, Pytest, Serverless, Moto, and DynamoDB","archived":false,"fork":false,"pushed_at":"2023-01-09T22:34:46.000Z","size":28447,"stargazers_count":3,"open_issues_count":19,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T16:38:07.360Z","etag":null,"topics":["ariadne","boto3","dynamodb","example","flask","graphql","graphql-server","jazz","moto","pytest","python","schema-first","sdl","serverless","testing"],"latest_commit_sha":null,"homepage":"https://kyv1ir2pra.execute-api.us-east-1.amazonaws.com/dev/graphql","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jottenlips.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-24T02:34:26.000Z","updated_at":"2023-03-08T16:17:58.000Z","dependencies_parsed_at":"2023-01-17T00:46:51.496Z","dependency_job_id":null,"html_url":"https://github.com/jottenlips/jazz-charts-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jottenlips%2Fjazz-charts-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jottenlips%2Fjazz-charts-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jottenlips%2Fjazz-charts-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jottenlips%2Fjazz-charts-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jottenlips","download_url":"https://codeload.github.com/jottenlips/jazz-charts-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378139,"owners_count":20929297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ariadne","boto3","dynamodb","example","flask","graphql","graphql-server","jazz","moto","pytest","python","schema-first","sdl","serverless","testing"],"created_at":"2024-10-14T03:07:01.070Z","updated_at":"2026-05-09T15:15:09.004Z","avatar_url":"https://github.com/jottenlips.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploy\n\nSetup .aws credentials.\n\n```console\nnpm install -g serverless\nsls deploy\n```\n\n# Offline Dev\n\nSet up your .aws credentials, make a DynamoDB table named jazz-charts-dev\n\nInstall node (to run serverless-offline). I use nvm to manage my node versions.\n\nGo to your jazz-charts-api folder: \n\n`npm install`\n\n`virtualenv -p python3 venv`\n\n`source venv/bin/activate`\n\n`pip install -r requirements.txt`\n\n`sls wsgi serve -p 8000`\n\nRun queries in Graphi at http://localhost:8000/graphql\n\n## Run Tests\n\n`TABLE_NAME=jazz-charts-test python -m pytest`\n\n*Composer*\n\n* getComposer\n\n* getComposers\n\n* createComposer\n\n* updateComposer\n \n\n*Song*\n\n* getSong\n\n* getSongs\n\n* createSong\n\n* updateSong\n\nExample Query: \n\n```\n{\n  getComposer(id: \"c1\") {\n    id\n    fullName\n    songs {\n      id\n      title\n      chordChart\n    }\n  }\n}\n```\n\nExample Response:\n\n```\n{\n  \"data\": {\n    \"getComposer\": {\n      \"id\": \"c1\",\n      \"fullName\": \"Jerome Kern\",\n      \"songs\": [\n        {\n          \"id\": \"1\",\n          \"title\": \"All the Things You Are\"\n          \"chordChart\": \"Db7#9 | % | C7#9 | % | F-7 | Bb-7 | Eb7 | AbMaj7 | DbMaj7 | G7 | CMaj7 | % | C-7 | F-7 | Bb7 | Ab-6 | EbMaj7 | F-7b5 | Bb7b5 | Ab-6 | EbMaj7 | G-7 | C7 | AbMaj7 | A-7b5 D7b9 | G-7 |C7 | F-7 C7 | F-7 Bb7 | Eb6 | F-7\"\n        }\n      ]\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjottenlips%2Fjazz-charts-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjottenlips%2Fjazz-charts-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjottenlips%2Fjazz-charts-api/lists"}