https://github.com/oreshinya/ore-stack
A React Router template with structured architecture.
https://github.com/oreshinya/ore-stack
biome claude docker kysely react-router remix-stack remix-stacks turso typescript valibot vitest
Last synced: 5 months ago
JSON representation
A React Router template with structured architecture.
- Host: GitHub
- URL: https://github.com/oreshinya/ore-stack
- Owner: oreshinya
- License: mit
- Created: 2025-09-13T13:44:28.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-12-12T22:44:57.000Z (6 months ago)
- Last Synced: 2025-12-14T13:11:20.026Z (6 months ago)
- Topics: biome, claude, docker, kysely, react-router, remix-stack, remix-stacks, turso, typescript, valibot, vitest
- Language: TypeScript
- Homepage:
- Size: 1020 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ore-stack
A React Router template with structured architecture.
## Tech Stack
- [React Router](https://reactrouter.com/) (Framework mode)
- [libSQL](https://turso.tech/) + [Kysely](https://kysely.dev/)
- [Valibot](https://valibot.dev/)
- [Vitest](https://vitest.dev/)
- [Biome](https://biomejs.dev/)
- [TypeScript](https://www.typescriptlang.org/)
- [Claude Code](https://claude.com/product/claude-code)
- [GitHub Actions](https://github.com/features/actions)
- [Docker](https://www.docker.com/)
## Documentation
See `docs/` for detailed guidelines:
- [docs/guidelines.md](docs/guidelines.md) - Overall structure and coding conventions
- [docs/adapters.md](docs/adapters.md) - External system connections
- [docs/data.md](docs/data.md) - Shared data structures
- [docs/models.md](docs/models.md) - Domain logic and data access
- [docs/routes.md](docs/routes.md) - HTTP routing and UI
- [docs/components.md](docs/components.md) - Reusable UI components
## Usage
```bash
pnpm dlx create-react-router@latest my-react-router-app --template https://github.com/oreshinya/ore-stack
```
## Setup
### Install dependencies
```bash
pnpm install
```
### Remove sample code
```bash
pnpm tsx tasks/remove-samples.ts
```
### Run database migrations
```bash
pnpm tsx tasks/db.ts latest
```
## Development
### Start development server
```bash
pnpm dev
```
### Type check
```bash
pnpm typecheck
```
### Lint and fix
```bash
pnpm lint:fix
```
### Run tests
```bash
pnpm test
```
## Production
### Build
```bash
pnpm build
```
This creates:
- `build/` - React Router application (built with Vite)
- `dist/` - Server and tasks (built with esbuild)
### Start server
```bash
pnpm start:server
```
### Run tasks
```bash
node dist/tasks-{task-name}.js
```