A full-stack web application that integrates two backends:
- Django for QR code generation logic.
- Express + MongoDB for user management (login/logout, JWTs), product info, and the dashboard.
The frontend is built with React + Vite for a fast and modern user experience.
- Project Overview
- Features
- Tech Stack
- Architecture
- Folder Structure
- Getting Started
- Configuration
- Contributing
- License
- Contact
QrifyMe is a hybrid web application featuring two distinct backend systems:
-
Django Backend:
Handles QR code creation logic and exposes APIs for QR code generation on a dedicated port (default: 8000). -
Express/Mongo Backend:
Manages user authentication (including JWT-based login/logout), product information, user details, and the administrative dashboard. It connects to a MongoDB database for persistent data storage and typically runs on port 3000 (or as configured).
The React + Vite frontend communicates with both backends to deliver a unified and seamless user experience.
- QR Code Generation: Generate QR codes for URLs or text using Django.
- User Management: Login, logout, and JWT authentication managed by Express and MongoDB.
- Product & User Information: CRUD operations for product data and user profiles.
- Administrative Dashboard: Comprehensive dashboard for data management.
- Responsive UI: Optimized for mobile, tablet, and desktop.
- Frontend: React + Vite
- QR Code Backend: Django
- User/Auth & Data Backend: Express + MongoDB
- Languages: JavaScript (frontend & Express) & Python (Django)
- Build Tools: npm, Vite
-
Django Server
- Manages QR code creation logic.
- Exposes APIs for generating QR codes.
-
Express/Mongo Server
- Handles user authentication (login/logout, JWT security).
- Provides CRUD operations for products and user information.
- Connects to a MongoDB database for persistent data storage.
-
Frontend (React + Vite)
- Interacts with both backends.
- Offers a unified interface for QR code generation, user management, and dashboard operations.
QrifyMe/
├── backend_django/ # Django project for QR code generation
│ ├── manage.py
│ ├── qrify/ # Main Django app
│ └── requirements.txt
├── backend_express/ # Express server for user management and data
│ ├── app.js
│ ├── package.json
│ └── routes/
├── frontend/ # React + Vite frontend
│ ├── index.html
│ ├── src/
│ └── package.json
└── README.md
- Node.js (v14+ recommended)
- npm or yarn
- Python (3.8+ recommended)
- pip (Python package manager)
- MongoDB (local or hosted)
- Clone the Repository
git clone https://github.com/your-username/QrifyMe.git cd QrifyMe
Setup the Django Backend
cd ../backend_django
python -m venv venv
source venv/bin/activate # On macOS/Linux (use venv\Scripts\activate on Windows)
pip install -r requirements.txtcd ../backend_express
npm install Django Backend
Apply MigrationsStart the Server
python manage.py runserver
The Django server should now be running at http://127.0.0.1:8000/Ensure MongoDB is Running Make sure you have a local MongoDB instance running or update your connection string in the configuration.
npm start
The Express server should now be running at http://127.0.0.1:3000/
Start the Development Server
cd ../frontend
npm run devAuthor: Parth Bandwal
Email: parthbandwal18@gmail.com
Project Link: QrifyMe on GitHub