CS628-HOS01
Run Ollama Server
- Open New Terminal
curl -fsSL https://ollama.com/install.sh | shollama serve
Pull and Chat with a Large Language Model (LLM) Conversational AI
- Open New Terminal
ollama pull gemma2:2b
Run ExpressJS Backend Server
- Open New Terminal
cd backendnpm installnode index.js- Make the Port Visibility
Public - Copy the forwarded address ExpressJS
Run React.js Frontend Server
- Copy your ExpressJS Forwarded Address
- Create
.envfile and paste it afterREACT_APP_API_URL=following: (useexample.envas reference) - Open New Terminal
cd frontendnpm installnpm start
On this page
Contributors
Created January 11, 2025
Updated March 6, 2026