Skip to content

dslwa/Campaign_Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Campaign Manager

Live Demo

A lightweight web app for managing ad campaigns.


Key Features

  • Full CRUD: Create, read, update, delete campaigns.
  • Financials: Deposit and withdraw from account balance.
  • Dynamic Data: Keyword suggestions and town selection.
  • Status Control: Toggle campaigns ON/OFF.
  • Radius Filter: Set campaign reach in kilometers.
  • API Docs: Swagger UI for easy exploration.

Tech Stack

  • Backend: Spring Boot, H2 in-memory database
  • Frontend: React
  • CI/CD: GitHub Actions, Docker, Heroku

Setup & Run

# 1. Clone repo
git clone https://github.com/dslwa/Campaign_Manager.git

# 2. Backend
cd SpringBootCRUD/campaign
mvn clean install
mvn spring-boot:run
# Server → http://localhost:8080

# 3. Frontend
cd ../campaign-frontend
npm ci
npm start
# App → http://localhost:3000

API Documentation


Deployment

  1. Login to Heroku CLI

    heroku login
    heroku container:login
  2. Build & Push Docker

    docker build -t registry.heroku.com/<app-name>/web campaign
    docker push registry.heroku.com/<app-name>/web
  3. Release

    heroku container:release web --app <app-name>
  4. Screenshots alt text alt text alt text