Skip to content

Raspberry Pi Boilerplate application with React & Express with Barcode Scanning & Camera Support.

Notifications You must be signed in to change notification settings

shrmaky/rasppi-quick

Repository files navigation

rasppi-quick

This is a raspberry Pi Camera quick starter application with React & Express with Barcode Scanning. You can use this application to create either front-end application or write API's

Machine Used: Raspberry Pi 3 Model-B
OS - Raspian OS Jessy & Stretch
Camera Used: Raspberry Pi

Step1: Clone the library

Step2: npm install //this install all the packages

####Step3(Optional): In Raspberry PI OS - Jessy & Stretch, the cam quality inside chromium browser is poor due to Chrome issues.If you face this issue, run following command sudo nano /etc/modules

                #Add these values inside modules
                i2c-dev
                snd-bcm2835
                bcm2835-v4l2
                
                echo 'options bcm2835-v4l2 gst_v4l2src_is_broken=1' | sudo tee -a /etc/modprobe.d/bcm2835-v4l2.conf
                echo 'bcm2835-v4l2' | sudo tee -a /etc/modules-load.d/modules.conf

Step 4: npm start run:dev

Help:

1. Best Hack: If you are facing any error in running server, try changing port inside server.js
2. The application also includes Barcode, Camera, Qrcode & Webcam library for future uses
3. Make sure your mongo application is running on default port 27017
4. In Data folder, added a POSTMAN collection for API

Raspberry PI Beginner:

    Things you need to start:
    1. Raspberry PI
    2. Monitor with HDMI Cable
    3. Keyboard & Mouse
    4. Power cable to connect Raspberry
    5. Raspberry PI Camera
References -
  1. How to install Raspberry Pi Camera
  2. Pi-Camera in Browser
  3. Setting up fingerprints for Raspberry Pi
  4. Getting started Nodejs & Raspberry PI
  5. Running Nodejs web server on Raspberry PI
  6. Raspberry PI Barcode Scanner
  7. Tutorial - Nodejs Restful API
  8. Mongoose.js - Connector Nodejs & Mongo
  9. Quick React Boilerplate
  10. JS Library Barcode Scanning
  11. Mongo Mac Installation
  12. Adding Virtual Keyboard

About

Raspberry Pi Boilerplate application with React & Express with Barcode Scanning & Camera Support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published