Skip to content

saudadez21/ftr-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ftr-chatbot

TypeScript React Next.js Flask Python

Running Instructions

To set up and run the FTR-chatbot application, follow the instructions for the front-end client and back-end server.

  1. Clone the repository:
git clone https://github.com/BowenZ217/ftr-chatbot.git
cd ftr-chatbot

Front-end Client

  1. Navigate to the front-end folder:
cd frontend
  1. Install the dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open http://localhost:3000 with your browser to see the result.

Back-end Server

  1. Navigate to the back-end folder:
cd backend
  1. Install the dependencies:
pip install -r requirements.txt
  1. Configure Environment Variables:

    • Locate the backend/.env.sample file and rename it to .env within the same directory.
    • For testing purposes, you can use a free database provider to quickly set up a database without cost.
    • For Gemini API:
      1. Go to Google AI Studio.
      2. Login with your Google account.
      3. Create an API key.
    • Open the newly renamed .env file and update the placeholders with your specific environment configurations.
  2. Start the development server:

python ./run.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published