This is a thin frontend UI for Kaapi backend — a platform that acts as a middleware layer, enabling platforms like Avni, Glific, and Dalgo to seamlessly integrate AI functionality.
- Pre-requisite
- Clone Frontend Repo
- Installation
- Available Scripts
- Deploying Release on EC2 with CD
- Learn More
asdf plugin-add nodejs
asdf installgit clone git@github.com:ProjectTech4DevAI/kaapi-frontend.gitYou need to set up the Kaapi backend service and follow the instructions there.
💡 Note: Ensure the backend is running and accessible before starting the frontend.
The Guardrails UI (currently in development) will require the Kaapi Guardrails service to be running alongside the backend. Setup instructions will be added here once the service is available.
🚧 No action needed for now — this is a placeholder for when the Guardrails feature lands in
main.
-
Copy
.env.exampleto.envin the project root:cp .env.example .env
-
Do not modify
.envunless absolutely required. -
Install dependencies:
npm install # or yarn
npm run dev
# or
yarn devVisit http://localhost:3000 to open the app.
npm install # Install dependencies
npm run dev # Run app in development mode
npm run build # Create optimized production build
npm run start # Start the production server
npm run lint # Run ESLintDeployments are automated via a GitHub Actions CD pipeline that SSHes into the EC2 instance, pulls the latest code, builds, and restarts the server.
| Branch | Environment |
|---|---|
main |
Staging |
release |
Production |
On every push to main or release, the pipeline automatically:
- SSHes into the EC2 instance
- Runs
git pullto fetch the latest code - Runs
npm run buildto create an optimized production build - Restarts the server to apply the new build
- 🌐 Kaapi
- 📄 One Pager
- 📄 Next.js Documentation - learn about Next.js features and API.
- 📄 Learn Next.js - an interactive Next.js tutorial.
- 💬 Discord