Skip to content

lebogangolifant/biz_link_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

biz_link

Overview

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.

Admin panel screenshot

View generated QR Code VCard Template.

Table of Contents

Features

  • 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.

Technologies Used

  • Frontend: React, MUI (Material-UI), Axios
  • Backend: Node.js, Express, MongoDB
  • QR Code Generation: QRCode library

Setup and Installation

Prerequisites

  • Node.js
  • npm or yarn
  • MongoDB

Frontend Setup

  1. Clone the Repository

    git clone https://github.com/lebogangolifant/biz_link_client.git
    cd biz_link_client
  2. Install Dependencies

    cd src
    npm install
    # or
    yarn install
  3. 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
  4. Run the Frontend

    npm start
    # or
    yarn start

Backend Setup

For backend setup, refer to the backend README.

Application Structure

Frontend

  • 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.

Backend

For backend application structure, refer to the backend README.

Usage

  1. Visit the Home Page: Access the main page at http://localhost:3000/ to view and interact with the QR code generator and order form.
  2. Login/Register: Navigate to /login or /register to authenticate.
  3. Admin Panel: Access the admin panel at /admin to manage card orders and user profiles.

Contributing

Contributions are welcome! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Create a new Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Dynamic QR Code generator for vCard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages