Mehmet Ergülcü

BitMeet POC

· 1 min

gorestpostgresqlopenapi

A small meeting planner API: a planner creates meetings with guests, and the service refuses meetings that overlap another meeting of the same planner, end before they begin, or have a forbidden word in the subject. It was a Spring Boot service; this is the same API written in Go.

What is inside?

  • Two meetings of a planner overlap when each starts before the other ends. One that ends at 10:00 and one that begins at 10:00 do not. Cancelled meetings do not count.
  • Forbidden words are matched as whole words, ignoring case with Turkish rules: GİZLİ matches gizli.
  • Errors follow RFC 9457 problem details: 400 for invalid input (with every invalid field listed), 409 when a rule is broken, 404 for an unknown meeting.
  • Swagger UI at /docs and the OpenAPI document at /openapi.yaml.
  • Meetings in memory, or in PostgreSQL (the schema is created on the first start, and several instances can share one database).
go run ./cmd/bitmeet                 # meetings in memory, http://localhost:8088
docker compose up --build            # meetings in PostgreSQL

curl -X POST localhost:8088/meetings -H 'Content-Type: application/json' -d '{
  "planner": "ali@example.com",
  "subject": "Sprint planning",
  "guests": ["veli@example.com"],
  "beginDate": "10-03-2026 14:00",
  "endDate": "10-03-2026 15:00"
}'

Source code: github.com/ergulcu/bit-meet-poc

© 2026 Mehmet Ergülcü SvelteKit · Tailwind · <1 KB JS