14

I want to know if web development can be done using Raku or Perl6?

Like Django for Python, do we have any framework available for Raku?

Id appreciate if you told us which are the libraries available or any tutorial.

Are there any webhosting providers to host Raku web application?

jjmerelo
  • 22,578
  • 8
  • 40
  • 86

2 Answers2

26

Many folks are using Cro for this. It's a set of libraries that you can pick as needed (and not just for web development), but offers things like:

There's a simple tutorial as well as a much longer one on making a SPA. There is also a fresh CRUD server-side tutorial available.

Finally, there's integrated support in the Comma IDE, which includes a Cro project template where you can select the bits you need, indexing of and navigation to routes, and a timeline view that can be used to understand where time is spent during request processing.

There are base images available to support Docker deployment also, to anywhere that supports that.

Takao
  • 1,016
  • 6
  • 11
Jonathan Worthington
  • 29,104
  • 2
  • 97
  • 136
5

I built a web framework for Raku called Humming-Bird it's brand new so there are still kinks to work out, but the core works really well! It is intended to be very similar to Sinatra and other frameworks of that style (express.js etc..)

Humming-Bird has most of the typical features of a web framework including but not limited to:

  • Routing
  • Middleware
  • Serving static files

This project is still in fairly early stages, but it offers more than enough to spin up simple web services, and web apps.

Rawley Fowler
  • 1,366
  • 7
  • 15