Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 1.58 KB

README.md

File metadata and controls

68 lines (42 loc) · 1.58 KB

Resplice Web

This is the monorepo for all Resplice web products

Development

Structure

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.

Setting Up A Development Environment

  1. Install NodeJS or nvm

  2. Install workspace dependencies: npm install

  3. Build libraries: npm run packages:build

  4. Spin up the Vite dev server for auth: npm run reauth:dev

  5. And for the actual application: npm run resplice:dev

Build & Run

Node

Use this method if you have node installed on your local machine:

  1. Install dependencies.
npm install
  1. Build shared packages
npm run packages:build
  1. Build applications
npm run apps:build
  1. Finally, run the applications.
npm run apps:preview

Docker

Coming soon