Skip to content

chemoiko/cm-backend-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Marketing Manager Backend

banner


  1. 🤖 Introduction
  2. ⚙️ Tech Stack
  3. 🔋 Features
  4. 🤸 Installation

This is a backend application for managing marketing campaigns using Django. The application provides APIs for creating, retrieving, updating, and deleting campaigns. Each campaign includes a title, a description, and an image. The API is documented using Swagger for easy access and understanding.

  • Django
  • Django REST Framework

Installation

Running the Project -Clone the repo

git clone https://github.com/yourusername/marketing-manager-backend.git
cd marketing-manager-backend

  • Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`

  • Install the required packages:
pip install -r requirements.txt

  • Apply migrations
python manage.py migrate


  • Run the development server:
python manage.py runserver

API Endpoints

  • POST /api/campaigns/ Create a new campaign
  • GET /api/campaigns/ Retrieve all campaigns
  • GET /api/campaigns/{id}/ Retrieve a specific campaign
  • PUT /api/campaigns/{id}/ Update a specific campaign
  • DELETE /api/campaigns/{id}/ Delete a specific campaign

Open http://localhost:8000 in your browser to view the project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors