Skip to content

NakyungIm/chatbot-backend

Repository files navigation

Chatbot Backend

A FastAPI-based backend for a chatbot application.

Setup

  1. Create and activate virtual environment:
python3.11 -m venv .venv
source .venv/bin/activate
  1. Install dependencies:
pip3 install -r requirements.txt

Running the Application

  1. Start the server:
fastapi dev main.py
  1. The API will be available at http://localhost:8000

Running the Application using ngrok

  1. Start the server:
uvicorn main:app --host 0.0.0.0 --port 8000
  1. In a new terminal window, start ngrok:
ngrok http 8000

API Endpoints

  • GET /: Welcome message
  • GET /webhook: Webhook

API Documentation

Once the server is running, you can access:

  • Swagger UI: http://localhost:8000/docs
  • ReDoc: http://localhost:8000/redoc

About

Netflix Recommendation System Using a Chatbot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors