Skip to content

samhoooo/chatapp-ollama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatbot App with Ollama

This is an offline React chatbot application integrated with Ollama.

demo

Features

  • Next.js: React frontend to interact with the chatbot
  • Node.js: Backend integrated with Ollama JS
  • Turborepo: Monorepo to include the above modules

Getting Started

Prerequisites

Ensure you have the following installed:

Installation

Run the following command:

pnpm install

Environment variable

Set up the following .env files, based on the template in .env.example

  • apps/api/.env
  • apps/web/.env

Running the Development Server

This monorepo uses Turborepo to manage the two packages (api, web).

To start all packages run:

pnpm dev

By default, the packages serve at the following endpoints:

Building the Project

Build all apps and packages:

pnpm build

License

This project is licensed under the MIT License.

Contact

For any questions, please open an issue in the repository.