Skip to content

Latest commit

 

History

History

README.md

HTTPS Outcalls

A sample app that showcases how to implement HTTPS outcalls on Juno with serverless functions written in Rust.

Getting started

git clone https://github.com/junobuild/examples
cd rust/https-outcalls
npm ci

How to Run

  1. Install dependencies:
npm ci
  1. Start Juno local emulator:

Important

Requires the Juno CLI to be available npm i -g @junobuild/cli

juno emulator start
  1. Create a Satellite for local dev:
  1. Create required collections:
  1. Start the frontend dev server (in a separate terminal):
npm run dev
  1. Build the serverless functions (in a separate terminal):
juno functions build

The emulator will automatically upgrade your Satellite and live reload the changes.