I developed a full-stack application built with React (for the frontend) and Java with Spring Boot framework (for the backend) manages users tasks and generate summaries using Cohere LLM (large language model) API which sent the summaries to slack channel.
- Frontend: React.js
- Backend: Java (Spring Boot)
- Database: PostgreSQL (Supabase)
- LLM Integration: Cohere API
- Slack Integration: Incoming Webhooks
- Clone the repository: git clone https://github.com/Namnika/TodoSummaryAssistant.git
- Install dependencies: npm install
- Start the server: npm start
- Open the application in your browser: http://localhost:3000 this will run your frontend React app
- Make sure to run the backend server, run this command:
./mvnw spring-boot:run
- Make sure to run the backend server, run this command:
To integrate slack into this application, follow these steps:
- Go to Slack API: Incoming Webhooks
- Create a new slack app from scratch
- Enable incoming webhook and generate incoming webhook url. (dashboard page-> sidebar -> Incoming Webhooks -> turn it on -> generate url)
- Copy that url and paste it to your
.env
file
To integrate cohere api, follow below steps:
- Sign up at Cohere.
- Go to your dashboard and generate an API key.
- Add this API key to your .env.
Method | Endpoint | Description |
---|---|---|
GET | /todos | Fetch all todos |
POST | /todos | Fetch all todos |
DELETE | /todos/:id | Delete todo by ID |
POST | /summarize | Generate summary and send to Slack |