Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 804 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 804 Bytes

SaaSus SDK for Rust - Sample API

This is a sample application that demonstrates how to use the SaaSus SDK for Rust.

Prerequisites

This sample application is designed to be used together with the frontend sample application:

Run the API

# Run in any directory
git clone [email protected]:bigdragon0610/implementation-sample-api-rust.git
cd implementation-sample-api-rust

cp .env.example .env
vi .env

# Set Env for SaaSus Platform API
# Get it in the SaaSus Admin Console
SAASUS_SAAS_ID="xxxxxxxxxx"
SAASUS_API_KEY="xxxxxxxxxx"
SAASUS_SECRET_KEY="xxxxxxxxxx"

# Save and exit
# API will run on http://localhost
cargo run