Files
Sharpbin/SharpbinV3.Client
dependabot[bot] d09c890cbc chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 2 updates in the /SharpbinV3.Client directory: [dompurify](https://github.com/cure53/DOMPurify) and [sharp](https://github.com/lovell/sharp).


Updates `dompurify` from 3.4.11 to 3.4.12
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.4.11...3.4.12)

Updates `sharp` from 0.34.5 to 0.35.0
- [Release notes](https://github.com/lovell/sharp/releases)
- [Commits](https://github.com/lovell/sharp/compare/v0.34.5...v0.35.0)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.12
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: sharp
  dependency-version: 0.35.0
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-25 04:20:59 +00:00
..
2026-06-18 21:15:34 -04:00
2026-02-10 17:07:22 -05:00

SharpbinV3 Client

This is the SvelteKit frontend for SharpbinV3.

Development Setup

Prerequisites

  • Node.js (v20 or newer recommended)
  • npm

Installation

Install the project dependencies:

npm install

Environment Configuration

The frontend requires an environment variable to point to the backend API. Create a .env file in this directory or set the variable in your environment:

  • VITE_API_URL: The URL of the backend API (e.g., http://localhost:8080).
  • VITE_ALLOWED_HOSTS: A comma separated list of allowed hosts (e.g., localhost,sharpbin.whoswhip.dev)
  • VIEW_INTERNAL_API_KEY: Enforces views to be counted/recorded only by the frontend, if set it needs to be the same for both backend and frontend.

Running in Development

Start the development server with Hot Module Replacement (HMR):

npm run dev

The frontend will be available at http://localhost:5173.

Script Reference

  • npm run dev: Start the Vite development server.
  • npm run build: Create a production build of the frontend.
  • npm run preview: Locally preview the production build.
  • npm run check: Run type checking with svelte-check.
  • npm run lint: Run ESLint and Prettier checks.
  • npm run format: Format the codebase with Prettier.