Skip to content

Latest commit

 

History

History

README.md

Assertions

A sample app that showcases a simple serverless function assertion developed in Rust.

What to expect

When testing this application, you should not be able to insert any notes (using the frontend) that contain the word "hello".

Getting started

git clone https://github.com/junobuild/examples
cd rust/assertions

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.