#router #http-router #internet-computer #canister #type #dfinity

ic-pluto

HTTP router & SSR tool for the Internet Computer

3 releases

0.3.3 Mar 19, 2024
0.3.2 Mar 19, 2024
0.3.1 Mar 19, 2024

#30 in #http-router

MIT license

68KB
1.5K SLoC

Pluto: Building Backend Services on Chain

GitHub

Pluto is an HTTP router implemented on the Internet Computer to facilitate working with HTTP. This router is a framework that allows you to write REST API applications on the blockchain in almost the same way as in Web 2

Pluto is an open-source project that empowers developers to build backend services on the chain. It provides a framework and tools to facilitate the creation of decentralized applications (dApps) with a focus on the backend logic and functionality.

Features

  • Easy-to-use router
  • Cors support
  • Validation

Getting Started

To get started with Pluto simply run:

cargo add ic-pluto

To get more information about Pluto installation go here.

To start with SSR on-chain also use templating

Documentation: zygiv-iaaaa-aaaag-qdkoq-cai.raw.icp0.io

Coming soon

  • Authentication and secure tokens
  • CLI (project generator, files generator)
  • Tests
  • Website + Docs
  • Examples
  • Swagger integration
  • Response cache
  • Blob response

Dependencies

~1.4–8.5MB
~82K SLoC