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 installSet up the following .env files, based on the template in .env.example
apps/api/.envapps/web/.env
This monorepo uses Turborepo to manage the two packages (api, web).
To start all packages run:
pnpm devBy default, the packages serve at the following endpoints:
- Web: http://localhost:3000
- API: http://localhost:8080
Build all apps and packages:
pnpm buildThis project is licensed under the MIT License.
For any questions, please open an issue in the repository.
