Skip to content

leo-andrei/meeting-service

Repository files navigation

Meeting Summary Service

A microservice in Go that integrates with the Slack API to deliver meeting-related information.

Directory Structure

.
├── .env                    # Environment configuration file
├── meeting.go                # business logic for the application
├── api/
│   ├── api.go           # The API server and routes, integrates with the MeetingService to handle requests
├── cmd/meeting-service/
│   ├── main.go       # Initialization file and graceful shutdown
└── slack/
    └── slack.json           # Provides functionality to send messages to Slack via a client
    └── mockslack/
        └── mock_slack.json  # Mock implementation of the SlackClientInterface, generated by mockgen for testing

Example

Run locally:

    go run ./cmd/meeting-service/main.go

CURL example:

    curl -X POST http://localhost:8080/send-meeting-info \
  -H "Content-Type: application/json" \
  -d '{"meetingSummary": "Weekly Update", "highlights": ["Discussed project timeline", "Budget adjustments"], "channel": "general"}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published