Tandem-Viewer-SvelteKit-2Legged Svelte Themes

Tandem Viewer Sveltekit 2legged

Tandem Viewer SvelteKit (2-Legged)

Overview

This is a simple Autodesk Tandem Viewer built with SvelteKit.
This sample provides a simple way to view a model in Tandem using the 2-legged authentication flow.

Prerequisites

  • Client ID and Client Secret from APS Application
  • Create some Facility in Tandem
  • Add APS Application to Tandem Team as a member

Running locally

  1. Clone the repository
  2. Install dependencies
    npm install
    
  3. Create a .env.local file in the root of the project and add the following environment variables:
    APS_KEY=<YOUR_APS_APP_CLIENT_ID>
    APS_SECRET=<YOUR_APS_APP_CLIENT_SECRET>
    
  4. Run the app
    npm run dev
    

Top categories

Loading Svelte Themes