This is the frontend client for Fleet of Fortune, built with modern web technologies.
- Bun - JavaScript runtime and package manager
- Svelte v5 with runes for reactivity
- TypeScript for type safety
- Tailwind CSS for styling
-
Install Bun if you haven't already:
curl -fsSL https://bun.sh/install | bash -
Install dependencies:
bun install
-
Start the development server:
bun run dev
-
Open your browser and navigate to
http://localhost:5173
- We use Svelte v5 with the new runes system ($state, $props)
- TypeScript is strictly enforced - all props must have explicit interfaces
- Use Tailwind CSS for styling (avoid
<style>tags) - Use Svelte snippets for code reuse:
{#snippet componentName(props)} <!-- Component content --> {/snippet} {@render componentName(props)}