https://github.com/huwutao/elvite
The stack that don't sacrifice performance over the love of Typescript.
https://github.com/huwutao/elvite
bun elysia react vite vitejs vitejs-react vitejs-template
Last synced: 7 days ago
JSON representation
The stack that don't sacrifice performance over the love of Typescript.
- Host: GitHub
- URL: https://github.com/huwutao/elvite
- Owner: hUwUtao
- Created: 2023-11-12T12:13:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T11:39:11.000Z (over 2 years ago)
- Last Synced: 2025-07-05T04:02:30.453Z (10 months ago)
- Topics: bun, elysia, react, vite, vitejs, vitejs-react, vitejs-template
- Language: TypeScript
- Homepage:
- Size: 124 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Elysia x Vite
The stack that statisfy both backend and frontend developer.
## Goals
- [x] Proper build system
- [ ] Proper DX
## 1. Summmary
At the backstage, with the undeniable speed of Bun, and Elysia the main wrap. This template include its convenient interface (named `eden`) for supporting a type-safe development, and this template also have a react-query like hook.
In the very front, we have a React SPA app. Though you might know it meant bad SEO, but this stack aim for high interactivity like "dashboards". The template also came with a Vite config that helps you utilize your static bundle size by using [esm.sh](https://esm.sh), which is highly recommended (by us) for being cache-utilization (the seconth load like nothing to the client, less internet redundancies, though dependent)
## 2. How fast it is
The backend, which powered by Bun, should achieve [the benchmark they pointed out](https://bun.sh/)
The frontent, though SPA, it should achieve `100` lighthouse performance score on a small website. It may depends on your code, dependencies, (and your early layout-shift too).
## 3. Known issues
1. `document` not exist, typecheck not working properly
- just `//@ts-ignore` it, there is no hurt
- or make it in pure JS, and make a typedef