You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository, named React Starter Kit, is a boilerplate for building web applications using Bun, TypeScript, and React. It is designed to be a starting point for developers who want to create modern web applications with a focus on performance, simplicity, and best practices.
4
+
5
+
## Project Structure
6
+
7
+
-`app` - Front-end code built with React and TypeScript.
8
+
-`server` - Back-end server built with Bun and Hono.
9
+
-`modules/ai` - AI related modules.
10
+
-`modules/ws` - WebSocket router, types, etc.
11
+
-`modules/*` - Other server modules.
12
+
-`api` - API routes for the server using Hono
13
+
-`ws` - WebSocket routes for the server using `WebSocketRouter`.
14
+
-`packages/*` - Shared packages and libraries.
15
+
-`scripts` - Development and build scripts.
16
+
17
+
## Coding Style
18
+
19
+
- Use functional programming principles.
20
+
- Follow existing code style and conventions.
21
+
- Use modern TypeScript features.
22
+
- Avoid outdated coding patterns, e.g. using `_` for private variables.
23
+
- Use Bun/Hono features and idioms, for example pub-sub for WebSocket.
0 commit comments