Bumps the npm-dependencies group in /PROJECTS/encrypted-p2p-chat/frontend with 5 updates: | Package | From | To | | --- | --- | --- | | [@tanstack/solid-query](https://github.com/TanStack/query/tree/HEAD/packages/solid-query) | `5.90.21` | `5.90.22` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.0.9` | `25.0.10` | | [globals](https://github.com/sindresorhus/globals) | `17.0.0` | `17.1.0` | | [prettier](https://github.com/prettier/prettier) | `3.8.0` | `3.8.1` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.53.0` | `8.53.1` | Updates `@tanstack/solid-query` from 5.90.21 to 5.90.22 - [Release notes](https://github.com/TanStack/query/releases) - [Changelog](https://github.com/TanStack/query/blob/main/packages/solid-query/CHANGELOG.md) - [Commits](https://github.com/TanStack/query/commits/@tanstack/solid-query@5.90.22/packages/solid-query) Updates `@types/node` from 25.0.9 to 25.0.10 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `globals` from 17.0.0 to 17.1.0 - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](https://github.com/sindresorhus/globals/compare/v17.0.0...v17.1.0) Updates `prettier` from 3.8.0 to 3.8.1 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.8.0...3.8.1) Updates `typescript-eslint` from 8.53.0 to 8.53.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.53.1/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@tanstack/solid-query" dependency-version: 5.90.22 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-dependencies - dependency-name: "@types/node" dependency-version: 25.0.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-dependencies - dependency-name: globals dependency-version: 17.1.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-dependencies - dependency-name: prettier dependency-version: 3.8.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-dependencies - dependency-name: typescript-eslint dependency-version: 8.53.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| README.md | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.ts | ||
README.md
Encrypted P2P Chat - Frontend
SolidJS frontend with Vite, TypeScript, and Tailwind CSS v4.
Requirements
- Node.js 20.19+ or 22.12+ (required for Vite 7)
Tech Stack
- SolidJS 1.9.10 - Fine-grained reactivity
- TypeScript 5.9 - Type safety
- Vite 7 - Build tool (ESM only, requires Node 20.19+)
- Tailwind CSS v4.1 - Utility-first CSS (stable release)
- @solidjs/router - Client-side routing
- @tanstack/solid-query 5.90 - Data fetching and caching
- nanostores 1.1 - State management
Development
npm install
npm run dev
Frontend runs on http://localhost:3000
Build
npm run build
Output in dist/ directory.
SolidJS Routing
Unlike React Router, SolidJS uses:
<A>component for navigation (not<Link>)useNavigate()for programmatic navigationuseParams()for route parametersuseSearchParams()for query parameters
Environment Variables
Copy .env.example to .env and configure:
VITE_API_URL- Backend API URLVITE_WS_URL- WebSocket URLVITE_RP_ID- WebAuthn Relying Party ID