···11-# sv
22-33-Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
44-55-## Creating a project
11+a webapp and server that monitors bluesky's jetsream and counts how many times different types of records are created or deleted. it shows you which collections (like posts, likes, follows, etc.) are most active on the network.
6277-If you're seeing this, you've probably already done this step. Congrats!
88-99-```bash
1010-# create a new project in the current directory
1111-npx sv create
33+for backend it uses rust with fjall as db, the frontend is built with sveltekit.
1241313-# create a new project in my-app
1414-npx sv create my-app
1515-```
55+see [here](https://gaze.systems/nsid-tracker) for a hosted instance of it.
1661717-## Developing
77+## running
1881919-Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
99+### with nix
20102121-```bash
2222-npm run dev
1111+- run the server: `nix run git+https://tangled.sh/poor.dog/nsid-tracker#server`
1212+- build the client: `nix build git+https://tangled.sh/poor.dog/nsid-tracker#client`
23132424-# or start the server and open the app in a new browser tab
2525-npm run dev -- --open
2626-```
1414+### manually
27152828-## Building
1616+you'll need rust and bun.
29173030-To create a production version of your app:
1818+then:
31193220```bash
3333-npm run build
2121+# start the backend
2222+cd server
2323+cargo run
2424+2525+# in another terminal, start the frontend
2626+cd client
2727+bun install && bun run -b dev
3428```
35293636-You can preview the production build with `npm run preview`.
3737-3838-> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
3030+the frontend will be available at `http://localhost:5173` and the backend at `http://localhost:3713`.