The Automated Message Sender API is designed to manage and send messages automatically. It features endpoints to start and stop message sending, retrieve sent messages, and send new messages. The API uses Fiber for the web framework, GORM for database interactions, and Redis for caching.
- Start and Stop Message Sending: Control the automated message sending process.
- Retrieve Sent Messages: Get all messages that have been sent.
- Send a Message: Send messages to specified recipients.
- Fiber: Fast and lightweight web framework for Go.
- GORM: ORM for Go, used for database interactions.
- PostgreSQL: Database used for storing messages.
- Redis: Caching layer for message IDs.
- Cron: Scheduling library for periodic tasks.
- Swagger: API documentation and testing.
- Docker
- Docker Compose
-
Clone the Repository
git clone https://github.com/iremkzlrmk/automated-message-sender.git cd automated-message-sender
-
Build the App
docker-compose build
-
Run the App
docker-compose up
Go to http://localhost:8080/swagger/index.html
for the documentation and further details of the API implementation.