Skip to content

DevalPrime/Meta-Ads-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meta Ads Manager

This project has two parts: a Python backend (Flask) and a React frontend. Follow the steps below to get it running. No coding is needed—just install the tools and run the provided commands once.

What you need installed

  • Python 3.10+ (from python.org)
  • Node.js 18+ (from nodejs.org)

One-time setup after unzipping

  1. Open the project folder (where app.py, start.bat, and frontend/ live).
  2. Create a virtual environment (venv) in this folder:
    • Open PowerShell in the project folder and run:
    • python -m venv .venv
  3. Activate the venv (PowerShell):
    • .venv\Scripts\Activate.ps1
  4. Install backend dependencies (still in the project folder):
    • pip install -r requirements.txt
  5. Install frontend dependencies:
    • cd frontend
    • npm install
    • When it finishes, close that window or type cd .. to return to the main folder.
  6. Add your Meta credentials in app.py (near the top):
    • Replace YOUR_APP_ID, YOUR_APP_SECRET, YOUR_ACCESS_TOKEN, and YOUR_ACCOUNT_ID with your real values.
    • Save the file. Keep these values private.

How to run (after setup)

Troubleshooting

  • If a window closes immediately, the credentials might be wrong or Python/Node.js may not be installed correctly.
  • If python is not recognized, reinstall Python and check "Add Python to PATH" during install.
  • If the frontend says port 3000 is in use, close other apps using that port and run start.bat again.
  • If Facebook API credentials are wrong or expired, the UI will not load data—double-check the values you entered in app.py.

That’s it—after the one-time setup, just use start.bat whenever you want to run the app.

About

A Flask backend and React frontend application for managing Meta/Facebook advertising accounts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors