Skip to content

Langchain LLM && FastAPI+ Node.js && Express + React + Postgresql db - Appointment Scheduling Bot

Notifications You must be signed in to change notification settings

BeyzaCavusoglu/chatbot_app

Repository files navigation

System Requirements:

  • Python 3.10+
  • Node.js 18+
  • PostgreSQL 15+
  • npm ve pip installed.

2 - Create .env file (example provided in .env.example file)

3- Start the PostgreSQL database

psql -U $(whoami) -c "CREATE DATABASE chatbot_db;"

4- Load the scheme.sql:

psql -U $(whoami) -d chatbot_db -f schema.sql

5- Langchain python microservice + FastAPI:

pip install -r requirements.txt
uvicorn chat_service:fastapi_app --reload --port 8000

6- Backend - Node.js + Express

npm install
node server.js

7-Frontend - React:

cd frontend/
npm install
npm start

Test the app: • http://localhost:3000
• /signup or /login
• /chat → enjoy the appointment bot

UI

Screenshot 1 Screenshot 2

About

Langchain LLM && FastAPI+ Node.js && Express + React + Postgresql db - Appointment Scheduling Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published