https://github.com/gwjun/global-chat
https://github.com/gwjun/global-chat
fastify i18n i18next react
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gwjun/global-chat
- Owner: GWjun
- Created: 2025-01-06T04:31:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-11T12:39:12.000Z (about 1 year ago)
- Last Synced: 2025-05-11T13:37:03.454Z (about 1 year ago)
- Topics: fastify, i18n, i18next, react
- Language: TypeScript
- Homepage:
- Size: 542 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Global Chat
This project sets up a real-time chat service that leverages the LLM API to provide seamless, natural conversations.
## Installation
1. Clone the repository and install the dependencies
```bash
git clone https://github.com/GWjun/global-chat.git
cd global-chat
yarn install
```
2. Create a .env file
```bash
cp .env.example .env
```
## Run
1. Start Database
```sh
yarn docker:start
npx prisma db push
```
2. Start Application
- **Development:**
```bash
yarn dev
```
- **Start Production Server:**
```bash
yarn start
```
Builds the application and starts the server in production mode.
## Structure
```
├── dist/ # Production build output
├── src/ # React application source files
│ ├── main.tsx # Client-side entry point
│ └── routes/ # Route objects
└── server/ # Fastify server code
├── entry.tsx # Server-side entry point for SSR render
└── main.ts # Main server file
```