Skip to content

QR Code Generator based on React with the integration of React Router

Notifications You must be signed in to change notification settings

ndenicolais/qr-code-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR Code Generator

Author: Nicola De Nicolais

This code represents a simple QR Code Generator app based on React with the integration of React Router

💻 Technologies used

React.js is a JavaScript library for creating user interfaces specific to single-page applications. It allows developers to create large web applications that can modify data without having to reload the page every time.

React Router is a complete JavaScript routing library that allows you to manage paths within a web application using so-called dynamic routing. It allows navigation between sections of various components in React applications and allows you to change the URL of the browser while keeping the user interface synchronized with the URL.

Installation

npm install react-router-dom
yarn add react-router-dom

A React component to generate QR codes for rendering to the DOM.

Installation

npm install qrcode.react
yarn add qrcode.react

🛠️ Installation Steps

  1. Clone this repository from GitHub
git clone https://github.com/ndenicolais/qr-code-generator
  1. Change the working directory
cd qr-code-generator-main
  1. Install dependencies
npm install
yarn
  1. Run the application in developer mode
npm start
yarn start
  1. Open http://localhost:3000 to view the application in the browser

⚙️ Customization

Customize the QR code's aspect according to your preferences by editing these parameters:

📄 App.js in 📁 src

Parameter Description
value type of value to input
size size of QR code's image
bgColor color of QR code's background
fgColor color of QR code's symbol
level level of error correction: (L\M\Q\H)
includeMargine to include QR code's margin

About

QR Code Generator based on React with the integration of React Router

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published