https://github.com/tanvirstreame/chat-gpt
https://github.com/tanvirstreame/chat-gpt
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tanvirstreame/chat-gpt
- Owner: tanvirstreame
- Created: 2025-03-29T10:09:20.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-29T10:25:03.000Z (3 months ago)
- Last Synced: 2025-03-29T11:24:10.519Z (3 months ago)
- Language: JavaScript
- Size: 878 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Features
- My own chat gpt using open ai## Tech
- Node JS
- Open AI## Demo
## Installation
First create .env accroding to .env.example. Make sure you have added mongo db url and server port.
#### Node Server
```sh
$ npm install
```Run the server project
```sh
$ npm run dev
```Verify the deployment to you server address in your browser
```sh
$ 127.0.0.1:5445
```## Endpoints
```sh
POST api/chats
```
## Status Code
| Status Code | Description
|-------------------------------|--------------------------
| 200 | OK
| 201 | CREATE
| 400 | BAD REQUEST
| 404 | NOT FOUND
| 500 | INTERNAL SERVER ERROR