Getting Started 🚀
Welcome to the Dynamic Notification System! This guide will help you set up and run the application quickly.
Prerequisites 🛠️
Ensure the following tools are installed on your system:
- Go (version 1.23+):
- Download and install from golang.org.
- Verify installation:
- Docker (optional for containerized deployment):
- Download and install from docker.com.
- Verify installation:
- MySQL:
- Install MySQL for your platform or use the docker-compose shipped with the code.
- Load the schema from
db
folder
Installation ⚙️
Follow these steps to set up the application:
-
Clone the Repository:
- Clone the source code from GitHub:
-
Build the Application:
- Compile the source code into a binary:
Configuration 📝
The application relies on a config.yaml
file for its configuration. Here's how to set it up:
-
Edit
config.yaml
:- Modify the file to include your credentials and preferences. Example:
-
Verify Configuration:
- Ensure the
config.yaml
file is in the root directory of the application:
- Ensure the
Running the Application 🏃
Option 1: Direct Execution
Run the application directly using the compiled binary:
- The application will start on the default port (8080). - Access the application via: - API:http://localhost:8080
Option 2: Using Docker
For a containerized deployment:
- Build the Docker Image:
- Run the Container:
- Verify the Container:
- List running containers:
docker ps
- Access the application at :
http://localhost:8080
- List running containers:
Next Steps ➡️
After setting up the application:
- Configure Plugins for custom notification channels.
- Start scheduling jobs using the API Endpoints.
Enjoy using the Dynamic Notification System! 🎉