Hey there! Are you interested in learning about data contracts but don’t know where to start? Well, you’re in luck! I’ve created a free, hands-on coding tutorial that will walk you through implementing data contracts from scratch using only open-source tools.
A few months ago, I asked the data engineering community for feedback on what they would look for in a tutorial like this, and I’m excited to share the final product with you.
This tutorial is hosted on GitHub and provides a full sandbox environment for you to play around with. You’ll get to:
* Run a dev environment in the browser using GitHub Codespaces or locally with Docker and VS Code
* Work with a live Postgres database filled with real-world data sourced from an API
* Implement your own data contract spec to learn how they work
* Use database migration files to make changes and detect data contract violations with unit tests
* Run CI/CD workflows with GitHub Actions to test for data contract violations and alert when a violation is detected
This is a unique opportunity to learn by doing, and I’d love to hear your feedback on the tutorial so I can improve it before it’s published in a book.
**Check it out and let me know what you think!**
[Link to the tutorial repo](https://github.com/data-contract-book/chapter-7-implementing-data-contracts/tree/main)