DEV Community 👩‍💻👨‍💻

Cover image for Make Git Your API
Chris More
Chris More

Posted on

Make Git Your API

When designing HTTP APIs for your application, it sometimes makes sense to embrace git as a part of the protocol.

If your application operates on data that your users naturally manage using a source control system like git, adding first-class git support to your APIs may be a good idea.

If you choose to add first-class git support to your own APIs, the fusebit/cloud-git project may come in handy. It provides a lightweight, pure JavaScript implementation of the git protocol that enables you to add git endpoints to your Node.js application.

Check our cloud-git and the open source github repo

Top comments (0)

In defense of the modern web

I expect I'll annoy everyone with this post: the anti-JavaScript crusaders, justly aghast at how much of the stuff we slather onto modern websites; the people arguing the web is a broken platform for interactive applications anyway and we should start over;

React users; the old guard with their artisanal JS and hand authored HTML; and Tom MacWright, someone I've admired from afar since I first became aware of his work on Mapbox many years ago. But I guess that's the price of having opinions.