This is an offline React chatbot application integrated with Ollama.
- Next.js: React frontend to interact with the chatbot
- Node.js: Backend integrated with Ollama JS
- Turborepo: Monorepo to include the above modules
Ensure you have the following installed:
Run the following command:
pnpm install
Set up the following .env files, based on the template in .env.example
apps/api/.env
apps/web/.env
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:
- Web: http://localhost:3000
- API: http://localhost:8080
Build all apps and packages:
pnpm build
This project is licensed under the MIT License.
For any questions, please open an issue in the repository.