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 clone is made with React and Node and uses OpenAI API.
3
4
4
-
- get your api key from https://openai.com/api/
5
+
- get your api key from https://openai.com/api/
5
6
6
7
## Prerequisites
8
+
7
9
Make sure you have installed all of the following prerequisites on your development machine:
8
-
* Git - [Download & Install Git](https://git-scm.com/downloads). OSX and Linux machines typically have this already installed.
9
-
* Node.js - [Download & Install Node.js](https://nodejs.org/en/download/) and the npm package manager. If you encounter any problems, you can also use this [GitHub Gist](https://gist.github.com/isaacs/579814) to install Node.js.
10
+
11
+
- Git - [Download & Install Git](https://git-scm.com/downloads). OSX and Linux machines typically have this already installed.
12
+
- Node.js - [Download & Install Node.js](https://nodejs.org/en/download/) and the npm package manager. If you encounter any problems, you can also use this [GitHub Gist](https://gist.github.com/isaacs/579814) to install Node.js.
10
13
11
14
## Cloning The GitHub Repository
15
+
12
16
The recommended way to get ChatGPT clone is to use git to directly clone the repository:
open terminal/bash in this repo and enter below commands to start the application
33
42
34
43
→ To start the server
44
+
35
45
```bash
36
-
$ node server
46
+
$ npm run dev
37
47
```
38
48
39
49
→ To start the client app
50
+
40
51
```bash
41
52
$ cd client
42
53
$ npm run dev
43
54
```
44
55
56
+
- Your client application should run on port 5137 with the _development_ environment configuration, so in your browser just go to [http://localhost:5173](http://localhost:5173)
45
57
46
-
47
-
* Your client application should run on port 3000 with the *development* environment configuration, so in your browser just go to [http://localhost:5173](http://localhost:5173)
48
-
49
-
* Your server application should run on port 8000, so in your browser just go to [http://localhost:8000](http://localhost:3000)
50
-
58
+
- Your server application should run on port 8000, so in your browser just go to [http://localhost:8000](http://localhost:3000)
0 commit comments