Skip to content

oreshinya/ore-stack

Repository files navigation

ore-stack

A React Router template with structured architecture.

Tech Stack

Documentation

See docs/ for detailed guidelines:

Usage

pnpm dlx create-react-router@latest my-react-router-app --template https://github.com/oreshinya/ore-stack

Setup

Install dependencies

pnpm install

Remove sample code

pnpm tsx tasks/remove-samples.ts

Run database migrations

pnpm tsx tasks/db.ts up

Development

Start development server

pnpm dev

Type check

pnpm typecheck

Lint and fix

pnpm lint:fix

Run tests

pnpm test

Production

Build

pnpm build

This creates:

  • build/ - React Router application (built with Vite)
  • dist/ - Server and tasks (built with esbuild)

Start server

pnpm start:server

Run tasks

node dist/tasks-{task-name}.js

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •