Writing a Database backed Micro-service with Raku and Humming-Bird

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Humming-Bird

    A fun and performant web application framework for Raku

  • Earlier this year I build a web-application framework for Raku called Humming-Bird, it's come a long way since it's humble beginnings. In this post I'd like to outline how I use Humming-Bird to build fast, reliable, cloud-native services.

  • zef

    Raku Module Management

  • To begin, you'll want to make sure that you have Raku installed, I recommend using Rakubrew. Then we'll want to install Zef, if you're new to Raku, Zef is basically just NPM or CPAN for Raku, it's written by the fabulous Ugexe and is the default package manager people use with Raku. If you installed Raku with Rakubrew, you can simply run rakubrew build-zef and it will handle all of the configuration for you.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • DBIish

    Database interface for Raku

  • We'll also want a database for this, so we'll pull in the trusty DBIish module maintained by the Raku Community.

  • Monad-Result

    Result monad for Raku

  • Major difference here is we use a try/catch block, you don't need to. Since Humming-Bird is functional I actually think it would be better practice to use a Monad type for handling errors something like Monad::Result, but that's the beautiful part of Humming-Bird, it accommodates everyone's preferences.

  • Humming-Bird-Microservice-Example

    A simple micro-service written with Humming-Bird and Raku for https://dev.to/rawleyfowler/writing-micro-services-with-raku-and-humming-bird-59k4

  • You can find the final code on github!

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • I built a web framework for the best programming language in the world, Raku (formerly Perl 6)

    1 project | /r/programming | 4 Mar 2023
  • Humming-Bird v2.0.2 is now available

    1 project | /r/rakulang | 25 Feb 2023
  • I built a prototype web-framework for Raku.

    2 projects | /r/rakulang | 29 Dec 2022
  • requesting thoughts/advice on distributing personal tools

    3 projects | /r/rakulang | 9 Sep 2022
  • How to protect API Keys in React projects using Gateweaver

    2 projects | dev.to | 28 Apr 2024