This is a demo application for managing campaigns and products.
Campaign Demo is a command-line application that allows you to create, manage, and monitor campaigns and products. It provides functionality for creating products, placing orders, creating campaigns, and retrieving information about products and campaigns. The application is written in Go and can be built and run locally or inside a Docker container.
- Go 1.16 or later
- Docker (optional)
To get started with the Campaign Demo application, follow these steps:
-
Clone the repository:
git clone https://github.com/eylmzer/campaingdemo.git
-
Navigate to the project directory:
cd campaingdemo
-
Build the application:
make build
-
Run the application:
./campaingdemo
-
Run the tests:
make test
Alternatively, you can run the application using Docker. Docker allows you to isolate the application's dependencies and run it in a containerized environment.
To use Docker, follow these steps:
-
Build the Docker image:
make docker-build
-
Run the Docker container:
make docker-run
-
Stop and clean up the Docker container and image:
make docker-clean