https://github.com/monsterdeveloper/t3-chat-cloneathon
https://github.com/monsterdeveloper/t3-chat-cloneathon
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/monsterdeveloper/t3-chat-cloneathon
- Owner: MonsterDeveloper
- Created: 2025-06-10T07:41:50.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-06-18T18:34:39.000Z (7 months ago)
- Last Synced: 2025-10-06T19:46:37.003Z (4 months ago)
- Language: TypeScript
- Size: 1.18 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Getting Started
### Installation
- Install [Bun](https://bun.sh/)
- Install [Node.js](https://nodejs.org/)
Install the dependencies:
```bash
bun i
```
### Development
Run an initial database migration:
```bash
bun db:push
```
Start the development server with HMR:
```bash
bun dev
```
Your application will be available at `http://localhost:5173`.
## Building for Production
Create a production build:
```bash
bun run build
```
## Deployment
Deployment is done using the Wrangler CLI.
First, you need to create a d1 database in Cloudflare.
```sh
bunx wrangler d1 create
```
Be sure to update the `wrangler.toml` file with the correct database name and id.
You will also need to [update the `drizzle.config.ts` file](https://orm.drizzle.team/docs/guides/d1-http-with-drizzle-kit), and then run the production migration:
```sh
bun db:generate
```
```sh
bun db:migrate
```
To build and deploy directly to production:
```sh
bun run deploy
```
To deploy a preview URL:
```sh
bunx wrangler versions upload
```
You can then promote a version to production after verification or roll it out progressively.
```sh
bunx wrangler versions deploy
```
## Styling
This template comes with [Tailwind CSS](https://tailwindcss.com/) already configured for a simple default starting experience. You can use whatever CSS framework you prefer.
---
Built with ❤️ using React Router.