https://github.com/elomagic/room-booking-ui
https://github.com/elomagic/room-booking-ui
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/elomagic/room-booking-ui
- Owner: elomagic
- License: apache-2.0
- Created: 2024-09-07T10:57:23.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-31T22:04:14.000Z (2 months ago)
- Last Synced: 2025-03-31T23:21:59.599Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 691 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Room Booking UI
A tool that ...
---
[][license]
[](https://github.com/elomagic/room-booking-ui/actions)
[](https://github.com/elomagic/room-booking-ui/issues)
[](https://github.com/elomagic/room-booking-ui/releases)
[](https://github.com/elomagic/room-booking-ui/graphs/commit-activity)
[](https://www.buymeacoffee.com/elomagic)---
# Installation
This UI is part of the https://github.com/elomagic/room-booking-backend project. Docker image can also be found there.
# Build web app
```commandline
npm run build
```# Run as dev
```commandline
npm run dev
```Enjoy
---
# React + TypeScript + Vite
## Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level `parserOptions` property like this:
```js
export default tseslint.config({
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
})
```- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked`
- Optionally add `...tseslint.configs.stylisticTypeChecked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config:```js
// eslint.config.js
import react from 'eslint-plugin-react'export default tseslint.config({
// Set the react version
settings: { react: { version: '18.3' } },
plugins: {
// Add the react plugin
react,
},
rules: {
// other rules...
// Enable its recommended rules
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
},
})
```[license]: https://www.apache.org/licenses/LICENSE-2.0