{"id":19792424,"url":"https://github.com/making/demo-foundationdb","last_synced_at":"2026-06-11T19:31:12.916Z","repository":{"id":136909076,"uuid":"130540610","full_name":"making/demo-foundationdb","owner":"making","description":"Demo application using FoundationDB + Spring WebFlux.fn","archived":false,"fork":false,"pushed_at":"2018-04-23T01:48:26.000Z","size":208,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-21T16:03:11.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/making.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-22T06:14:33.000Z","updated_at":"2019-03-14T08:06:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d8d1a2d-3eb7-490f-8fdf-fd56e2817602","html_url":"https://github.com/making/demo-foundationdb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/making/demo-foundationdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fdemo-foundationdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fdemo-foundationdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fdemo-foundationdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fdemo-foundationdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/making","download_url":"https://codeload.github.com/making/demo-foundationdb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fdemo-foundationdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34215253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-12T07:06:55.271Z","updated_at":"2026-06-11T19:31:12.886Z","avatar_url":"https://github.com/making.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo using FoundationDB + Spring WebFlux.fn\n\n\nInstall fdb-client locally until [it's published to Maven Central](https://github.com/apple/foundationdb/issues/219)\n\n```\nmvn validate -P install-fdb\n```\n\n[Install](https://apple.github.io/foundationdb/downloads.html) and [start](https://apple.github.io/foundationdb/administration.html#starting-and-stopping) FoundationDB\n\n\n```\n$ curl -v localhost:8080\n\u003e GET / HTTP/1.1\n\u003e Host: localhost:8080\n\u003e User-Agent: curl/7.54.0\n\u003e Accept: */*\n\u003e \n\u003c HTTP/1.1 404 Not Found\n\u003c content-length: 0\n\u003c \n```\n\n```\n$ curl localhost:8080 -v -H \"Content-Type: text/plain\" -d World\n\u003e POST / HTTP/1.1\n\u003e Host: localhost:8080\n\u003e User-Agent: curl/7.54.0\n\u003e Accept: */*\n\u003e Content-Type: text/plain\n\u003e Content-Length: 5\n\u003e \n\u003c HTTP/1.1 200 OK\n\u003c transfer-encoding: chunked\n\u003c Content-Type: text/plain;charset=UTF-8\n\u003c \n```\n\n```\n$ curl -v localhost:8080\n\u003e GET / HTTP/1.1\n\u003e Host: localhost:8080\n\u003e User-Agent: curl/7.54.0\n\u003e Accept: */*\n\u003e \n\u003c HTTP/1.1 200 OK\n\u003c transfer-encoding: chunked\n\u003c Content-Type: text/plain;charset=UTF-8\n\u003c \nHello World\n```\n\n```\n$ curl -v -XDELETE localhost:8080\n\u003e DELETE / HTTP/1.1\n\u003e Host: localhost:8080\n\u003e User-Agent: curl/7.54.0\n\u003e Accept: */*\n\u003e \n\u003c HTTP/1.1 204 No Content\n\u003c \n```\n\n## Class Scheduling in Spring WebFlux\n\nhttps://apple.github.io/foundationdb/class-scheduling-java.html\n\n\n```\n$ curl -v localhost:8080/availableClasses\n\u003e GET /availableClasses HTTP/1.1\n\u003e Host: localhost:8080\n\u003e User-Agent: curl/7.54.0\n\u003e Accept: */*\n\u003e \n\u003c HTTP/1.1 200 OK\n\u003c transfer-encoding: chunked\n\u003c Content-Type: text/event-stream\n\u003c \ndata:10:00 alg 101\n\ndata:10:00 alg 201\n\ndata:10:00 alg 301\n\ndata:10:00 alg for dummies\n\n...\n```\n\n```\n$ curl -v -XPOST localhost:8080/signup/foo/2:00%20bio%20for%20dummies\n\u003e POST /signup/foo/2:00%20bio%20for%20dummies HTTP/1.1\n\u003e Host: localhost:8080\n\u003e User-Agent: curl/7.54.0\n\u003e Accept: */*\n\u003e \n\u003c HTTP/1.1 200 OK\n\u003c transfer-encoding: chunked\n\u003c Content-Type: text/plain;charset=UTF-8\n\u003c \n99 seats left\n\n$ curl -v -XPOST localhost:8080/signup/foo/2:00%20bio%20for%20dummies\n\u003e POST /signup/foo/2:00%20bio%20for%20dummies HTTP/1.1\n\u003e Host: localhost:8080\n\u003e User-Agent: curl/7.54.0\n\u003e Accept: */*\n\u003e \n\u003c HTTP/1.1 400 Bad Request\n\u003c transfer-encoding: chunked\n\u003c Content-Type: text/plain;charset=UTF-8\n\u003c \nalready signed up\n```\n\n```\n$ curl -v -XPOST localhost:8080/drop/foo/2:00%20bio%20for%20dummies\n\u003e POST /drop/foo/2:00%20bio%20for%20dummies HTTP/1.1\n\u003e Host: localhost:8080\n\u003e User-Agent: curl/7.54.0\n\u003e Accept: */*\n\u003e \n\u003c HTTP/1.1 200 OK\n\u003c transfer-encoding: chunked\n\u003c Content-Type: text/plain;charset=UTF-8\n\u003c \n100 seats left\n\n$ curl -v -XPOST localhost:8080/drop/foo/2:00%20bio%20for%20dummies\n\u003e POST /drop/foo/2:00%20bio%20for%20dummies HTTP/1.1\n\u003e Host: localhost:8080\n\u003e User-Agent: curl/7.54.0\n\u003e Accept: */*\n\u003e \n\u003c HTTP/1.1 400 Bad Request\n\u003c transfer-encoding: chunked\n\u003c Content-Type: text/plain;charset=UTF-8\n\u003c \nnot taking this class\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaking%2Fdemo-foundationdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaking%2Fdemo-foundationdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaking%2Fdemo-foundationdb/lists"}