8edd7bfb by RSA

readme

1 parent 6572b9be
......@@ -2,22 +2,21 @@
## Installation
npm install on the root and /client directory.
npm install on the root directory.
## Create ENV Variables
Create an .env file in the root directory of your application.
Duplicate the env-template and rename to .env
Create an .env file in the root directory of your application.
Duplicate the env-template and rename to .env
In the .env file, define the environment variables you want to use in your application. ex.
In the .env file, define the environment variables you want to use in your application. ex.
API_KEY="sk-xxxxxxxx"
API_ORG="org-xxxxxxx"
SERVER_URL="http://localhost:3080/"
API_KEY="sk-xxxxxxxx"
API_ORG="org-xxxxxxx"
SERVER_URL="http://localhost:3080/"
## Run server and client
## Run server
root --> `node index.js`
client --> `npm run dev`
Run server on the root directory
`node index.js`
......
# ChatGPT Client
# Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Installation
npm install on the /client directory.
## Available Scripts
In the project directory, you can run:
In the /client directory, you can run:
### `npm start`
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!