SynthChat is full-stack AI chat application powered by ChatGPT, featuring a sleek interface with Tailwind CSS, intelligent responses from OpenAI, and structured data storage via MongoDB.
App is now live at https://jltysc-8000.csb.app
-
Clone the repository:
git clone https://github.com/avisek/synth-chat.git cd synth-chat
-
This project uses
pnpm
package manager. To installpnpm
, run:npm install -g pnpm
-
Install project dependencies:
pnpm i
-
Setup environment variables: Create a
.env.local
file at the root directory. And write the required environment variables.MONGODB_URL=XXX OPENAI_API_KEY=XXX OPENAI_ORGANIZATION_ID=XXX JWT_SECRET=XXX COOKIE_SECRET=XXX
-
Start the dev server:
pnpm dev
-
Access the Application:
Press o to open the application on your web browser or navigate to this url: http://localhost:3000/
-
Build the production package:
pnpm build
-
Run the production package:
pnpm start
This project is licensed under the MIT License.