How to create qr code/barcode with a database

im building a mobile app that you can scan a qr code or barcode and the result will be used to search the database and dispaly the name and description and the price of the product, im only used to css and html and some js from here where to start? and is the project easy?