How I Wrote Umami in 30 Days

Starting with the data model

Collecting the data

<script async defer data-website-id="83dd64c4-17ad-4e3e-a905-b3d8c867c1a5" src="http://app.umami.is/umami.js"></script>

Storing the data

async function getWebsiteById(id) {
return prisma.website.findOne({
where: {
website_id: id,
},
});
}

Showing the data

Making a complete product

Ship it!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store