Skip to content

saumay3105/Adwise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adwise

Adwise is a full-stack application repository, likely created as part of the Pan-IIT Hackathon. The repository contains both backend and frontend code, as well as sample data for personalization and user targeting.


Table of Contents


Project Structure

Adwise/
├── backend/
│   ├── adwise/
│   ├── core/
│   ├── users/
│   ├── video_generator/
│   ├── manage.py
│   ├── requirements.txt
│   ├── PyWhatKit_DB.txt
│   └── upload_video.py-oauth2.json
├── frontend/
│   ├── public/
│   ├── src/
│   ├── index.html
│   ├── package.json
│   ├── package-lock.json
│   ├── tailwind.config.js
│   ├── vite.config.js
│   ├── eslint.config.js
│   ├── postcss.config.cjs
│   └── README.md
├── sample_personalization/
│   ├── script.py
│   ├── target_audience_car_loan.csv
│   ├── target_audience_health_insurance.csv
│   ├── target_audience_home_loan.csv
│   ├── target_audience_life_insurance.csv
│   ├── target_audience_personal_loan.csv
│   └── user_summary_data_2_days_times.csv
├── PyWhatKit_DB.txt
└── README.md

Backend

The backend appears to be a Python-based project (possibly Django or Flask), containing:

  • manage.py: Entry point for backend management tasks.
  • requirements.txt: Lists Python packages required to run the backend.
  • adwise/, core/, users/, video_generator/: Likely contain the main application, business logic, user management, and video generation modules.
  • PyWhatKit_DB.txt: Database or data file possibly used for WhatsApp or messaging automation.
  • upload_video.py-oauth2.json: OAuth2 credentials for video uploads (ensure this is not exposed in production).

Frontend

The frontend is a React application bootstrapped with Vite. Key points:

  • Minimal setup for React with HMR and ESLint.
  • Uses @vitejs/plugin-react and @vitejs/plugin-react-swc for fast refresh and modern build tooling.
  • Main configuration files include package.json, vite.config.js, tailwind.config.js, and ESLint config.

See frontend/README.md for more details.


Sample Personalization

The sample_personalization folder provides example scripts and data:

  • script.py: Likely processes or demonstrates personalization logic.
  • CSV files for various target audiences: e.g., car loan, health insurance, home loan, life insurance, personal loan.
  • user_summary_data_2_days_times.csv: User analytics or summary data.

Getting Started

Prerequisites

  • Python 3.x (for backend)
  • Node.js and npm (for frontend)

Backend Setup

cd backend
python -m venv venv
source venv/bin/activate  # or venv\Scripts\activate on Windows
pip install -r requirements.txt
# Run backend (example, adjust as per framework)
python manage.py runserver

Frontend Setup

cd frontend
npm install
npm run dev

About

Hackathon

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors