DEV Community

MD Taseen Khan
MD Taseen Khan

Posted on • Originally published at reactjsexample.com on

A simple Qr-code-generator using react

Qr-code-generator

A simple Qr-code-generator using react

A simple Qr-code-generator using react A simple Qr-code-generator using react

This app generates Qr Code based on the entered URL. It is also possible to customize and download the generated Qr Code.

View DemoView Github

Overview

About App

This app generates Qr Code based on the url entered.

Features:

  • Light / dark mode theme switcher
  • Qr Code 'X1-Il.netlify.app' default on loading
  • Dynamically generating the Qr Code as you type the URL
  • Dynamically update the color and background of the Qr Code based on the customization input entered by the user
  • Dynamically update the customized image of the Qr Code
  • Removes the custom image of the Qr Code
  • You can download the .png of the generated Qr Code

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Grid & Flexbox
  • React - Js library
  • QRCode.react - Qr Code package
  • React Color - Color Pickers package

Continued development

Future features:

  • Serverless database connection
  • Authentication with login
  • Save the Qr Code generated

Useful resources

Getting Started

In order to view this project locally, you need to make sure you clone this repository and install it's dependencies.

System Requirements

To check which versions you have installed you can run these commands:

git --version
node --version
npm --version

Enter fullscreen mode Exit fullscreen mode

If requirements above are not installed in your computer, you'll need to install them. By clicking on them you can go to their website, which can lead you the way.

Installation

  • Clone the repository
git clone https://github.com/X1-Il/Qr-code-generator.git
Enter fullscreen mode Exit fullscreen mode
  • Navigate to repository folder
cd Qr-code-generator
Enter fullscreen mode Exit fullscreen mode
  • Install npm packages
npm install
Enter fullscreen mode Exit fullscreen mode
  • To run the app in the development mode run in the project directory:
npm start
Enter fullscreen mode Exit fullscreen mode

Bugs

Please feel free to create an issue if you see a bug or something unexpected in the app.

Contributing

  • Fork the Project
  • Create your Feature Branch (git checkout -b feature/yourFeature)
  • Commit your Changes (git commit -m 'Brief explanation of feature')
  • Push to the Branch (git push origin feature/yourFeature)
  • Open a Pull Request

License

MIT license

Author

X1-Il portfolio - X1-Il

Thanks by X1-Il

Top comments (0)