This is the monorepo for all Resplice web products
This repo is a monorepo with NPM workspace support. Here is an outline of its structure:
-
apps/*: This workspace contains all web applications.reauth: This is the web application containing the resplice authentication flow.resplice: This is the main consumer web application.
-
packages/*: This workspace contains all shared packages across web apps and sites.components: This is the share svelte component library for all web apps.proto: This is the TypeScript library generated from Resplice protobuf files.utils: This is a library containing common utility functions for web apps and sites.
-
sites/*: This workspace contains all marketing and analytic sites.landing: This is the landing page for Resplice.com.stats: This is the public analytics site for Resplice.
-
Install workspace dependencies:
npm install -
Build libraries:
npm run packages:build -
Spin up the Vite dev server for auth:
npm run reauth:dev -
And for the actual application:
npm run resplice:dev
Use this method if you have node installed on your local machine:
- Install dependencies.
npm install- Build shared packages
npm run packages:build- Build applications
npm run apps:build- Finally, run the applications.
npm run apps:previewComing soon