Skip to content

πŸ“– The API + ETL pipeline for searching the Wellcome Collection Prismic Repository.

License

Notifications You must be signed in to change notification settings

wellcomecollection/content-api

Folders and files

NameName
Last commit message
Last commit date
Dec 12, 2024
Oct 3, 2024
Mar 9, 2023
Oct 3, 2024
Dec 12, 2024
Mar 17, 2023
Nov 25, 2024
Dec 11, 2024
Jan 9, 2025
Dec 12, 2024
Oct 3, 2024
Mar 9, 2023
Oct 3, 2024
Apr 27, 2023
Apr 6, 2023
Sep 20, 2024
Mar 8, 2023
Sep 20, 2024
Oct 18, 2024
Mar 8, 2023
Oct 3, 2024
Oct 2, 2024
Oct 3, 2024
Oct 3, 2024
Sep 20, 2024
Dec 4, 2024

Repository files navigation

Content API

These are the services that back our Content API. The Content API exposes our non-catalogue content: at the moment, that's just articles, but in the future it might include endpoints for events, exhibitions, and functional content.

Architecture diagram

Services

  • /pipeline: runs on a schedule, queries for updated content, transforms it and puts it into an index in the content ES cluster.
  • /api: queries the Elasticsearch index
  • /webhook: a Lambda handler exposed via a function URL for handling Prismic webhook events and publishing them to a EventBridge bus
  • /unpublisher: receives events published by the webhook, extracts document IDs from them and removes them from the ES index.

Developing

  • Deployment is all done in CI, see .buildkite/pipeline.yml
  • husky will set up a pre-commit hook for autoformatting when you first install dependencies

About

πŸ“– The API + ETL pipeline for searching the Wellcome Collection Prismic Repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published