- Docker
- Node
- Installing dependencies
cd api
npm install
- Next, you need to set up
.env
file
SECRET="" # for JWT (Json web token)
# For database
DATABASE_URL=""
DB_USER="postgres"
POSTGRES_PASSWORD=""
DB_HOST="localhost"
DB_PORT="5432"
DB_NAME="carepro"
# node server port
PORT="3000"
- Finally, build the docker image and run the container.
docker compose up --build
Here you have a choice between using OpenAI Api, or a custom chatbot.
cd chatApi
- set up
.env
OPENAI_API_KEY = ""
- Build the image and run the container
docker compose up --build
cd careproChatBot/app
docker compose up --build # this may take a while
cd ../../chatApi2
docker compose up --build
- Install dependencies
cd client
npm install
- Run the server
npm run dev
Project made with love.
For the chatbot implementation details, refer to ./how
folder