22 lines
588 B
Markdown
22 lines
588 B
Markdown
# Walkies Frontend
|
|
|
|
React + TypeScript frontend built with [Vite](https://vite.dev/). Tests run with [Vitest](https://vitest.dev/).
|
|
|
|
## Available Scripts
|
|
|
|
### `npm run dev`
|
|
|
|
Starts the development server on [http://localhost:3000](http://localhost:3000) with hot module replacement. API requests to `/api` are proxied to `http://localhost:8080`.
|
|
|
|
### `npm test`
|
|
|
|
Runs all tests once using Vitest with jsdom.
|
|
|
|
### `npm run build`
|
|
|
|
Type-checks with `tsc` then builds the app for production into the `dist` folder.
|
|
|
|
### `npm run preview`
|
|
|
|
Serves the production build locally for previewing.
|