WIP. A little custom music server
README.md
Welcome to your new TanStack app! # Getting Started To run this application: ```bash bun install bun --bun run start ``` # Building For Production To build this application for production: ```bash bun --bun run build ``` ## Testing This project uses [Vitest](https://vitest.dev/) for testing. You can run the tests with: ```bash bun --bun run test ``` ## Styling This project uses [Tailwind CSS](https://tailwindcss.com/) for styling. ## Linting & Formatting This project uses [eslint](https://eslint.org/) and [prettier](https://prettier.io/) for linting and formatting. Eslint is configured using [tanstack/eslint-config](https://tanstack.com/config/latest/docs/eslint). The following scripts are available: ```bash bun --bun run lint bun --bun run format bun --bun run check ``` ## Shadcn Add components using the latest version of [Shadcn](https://ui.shadcn.com/). ```bash pnpx shadcn@latest add button ``` ## Routing This project uses [TanStack Router](https://tanstack.com/router). The initial setup is a file based router. Which means that the routes are managed as files in `src/routes`. ### Adding A Route To add a new route to your application just add another a new file in the `./src/routes` directory. TanStack will automatically generate the content of the route file for you. Now that you have two routes you can use a `Link` component to navigate between them. ### Adding Links To use SPA (Single Page Application) navigation you will need to import the `Link` component from `@tanstack/react-router`. ```tsx import { Link } from "@tanstack/react-router"; ``` Then anywhere in your JSX you can use it like so: ```tsx <Link to="/about">About</Link> ``` This will create a link that will navigate to the `/about` route. More information on the `Link` component can be found in the [Link documentation](https://tanstack.com/router/v1/docs/framework/react/api/router/linkComponent). ### Using A Layout In the File Based Routing setup the layout is located in `src/routes/__root.tsx`. Anything you add to …