identity/identity-web
2024-10-16 20:55:29 +02:00
..
src Initial impl of entry endpoints and various improvements 2024-10-16 20:55:29 +02:00
static more docs! 2024-06-30 19:41:15 +02:00
.editorconfig checkpoint 4 2024-06-15 10:15:22 +02:00
.env.example cleanup and docs and landing 2024-06-29 18:32:27 +02:00
.gitattributes checkpoint 4 2024-06-15 10:15:22 +02:00
.gitignore checkpoint 2 2024-06-13 23:14:20 +02:00
.npmrc Checkpoint #1 2024-06-13 22:00:45 +02:00
.prettierignore Checkpoint #1 2024-06-13 22:00:45 +02:00
.prettierrc cleanup and docs and landing 2024-06-29 18:32:27 +02:00
.yarnrc.yml checkpoint 2 2024-06-13 23:14:20 +02:00
eslint.config.js Checkpoint #1 2024-06-13 22:00:45 +02:00
LICENSE licensing 2024-06-29 19:12:12 +02:00
package.json licensing 2024-06-29 19:12:12 +02:00
postcss.config.js cleanup and docs and landing 2024-06-29 18:32:27 +02:00
README.md final linting 2024-06-30 22:05:46 +02:00
svelte.config.js cleanup and docs and landing 2024-06-29 18:32:27 +02:00
tailwind.config.js cleanup and docs and landing 2024-06-29 18:32:27 +02:00
tsconfig.json Checkpoint #1 2024-06-13 22:00:45 +02:00
vite.config.ts Checkpoint #1 2024-06-13 22:00:45 +02:00
yarn.lock cleanup and docs and landing 2024-06-29 18:32:27 +02:00

identity-web

The web app that interacts with the Identiy API and the Asset API.

Development and local testing

  1. Copy the .env.example file: cp .env.example .env
  2. Run yarn to install the dependencies.
  3. Run yarn dev and open the specified URL.
  4. You're ready to go! Any changes should be reflected in real time.

Structure

  • ./routes - The pages and associated components. Part of the SvelteKit filesystem routing. Most of the code is here.
  • ./lib - Various global elements.
    • ./lib/api.ts - The stateless functions that interact with the Identity API and the Asset API.
    • ./lib/stores.ts - The global stores, used to store things like tokens and account info.
    • ./lib/entry.ts - The definitions for an entry.
      • Note: This file may be moved to a common package in the near future to simplify the server development process.
    • ./lib/assets - Images used in the landing page.
    • ./lib/components - Components used across various pages.