biz_link is a dynamic QR code generator for VCard. The application allows users to create, manage, and order NFC-enabled business cards with embedded QR codes. The QR codes link to a dynamically updated vCard profile that can be accessed via NFC technology or by scanning the code.
View generated QR Code VCard Template.
- Dynamic QR Code Generation: Automatically generates QR codes that link to a dynamic vCard URL.
- NFC Compatibility: Supports NFC-enabled business cards for easy data transfer.
- User Authentication: Provides user login and registration functionalities.
- Admin Panel: Allows administrators to manage card orders and user profiles.
- Order Form: Users can order custom business cards through a comprehensive form.
- Frontend: React, MUI (Material-UI), Axios
- Backend: Node.js, Express, MongoDB
- QR Code Generation: QRCode library
- Node.js
- npm or yarn
- MongoDB
-
Clone the Repository
git clone https://github.com/lebogangolifant/biz_link_client.git cd biz_link_client
-
Install Dependencies
cd src npm install # or yarn install
-
Create a
.env
File Copy the.env.example
file to.env
and configure your API base URL:REACT_APP_API_BASE_URL=http://localhost:5000/api
-
Run the Frontend
npm start # or yarn start
For backend setup, refer to the backend README.
src/App.js
: Main application component with routing and theme configuration.src/components/Home.js
: Home page with dynamic QR code functionality and order form.src/components/CardDetails.js
: Displays detailed information about a specific card.src/components/auth
: Contains login, registration, and password management components.src/components/admin
: Admin panel components for managing cards and users.src/api.js
: Configures Axios for API requests with authorization tokens.
For backend application structure, refer to the backend README.
- Visit the Home Page: Access the main page at
http://localhost:3000/
to view and interact with the QR code generator and order form. - Login/Register: Navigate to
/login
or/register
to authenticate. - Admin Panel: Access the admin panel at
/admin
to manage card orders and user profiles.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.