List of scanned barcodes using ReactNative & Expo

Create a new Expo Project with a blank template. expo init Barcodescan Then install react native elements for UI & start the application. yarn add react–native–elements expo start Open app.js and write below code import { StyleSheet, Text, View,ScrollView, Alert, Vibration } from ‘react-native’; import { ListItem, List } from ‘react-native-elements’; import { BarCodeScanner, Permissions }Continue reading “List of scanned barcodes using ReactNative & Expo”

Face Detection using React Native & Expo

Hi friends, I am explaining about face detection from scratch using react native and expo. First Create a new project named as FaceDetection. create-react-native-app FaceDetection Import the below classes from the expo import { FaceDetector,Camera,Permissions,Constants } from ‘expo’; Then, Ask for the camera permission async componentWillMount() {    const { status } =await Permissions.askAsync(Permissions.CAMERA);    this.setState({hasCameraPermission:status===’granted’});Continue reading “Face Detection using React Native & Expo”

Barcode & QR Code Scanner Using React Native and Expo

Hi Guys, Here i am explaining about Barcode Scanning from scratch. First you need to install React Native and Yarn globally using below commands. npm install -g create-react-native-app npm install -g yarn Now you create project using below command. create-react-native-app BarcodeExpo Download Expo in playstore & Enable developer options and usb debugging in your androidContinue reading “Barcode & QR Code Scanner Using React Native and Expo”

Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-5

I am explaining about user login and JWT. First, create the configuration file in the backend to store the secret key. I saved in backend/config/conf.js const crypto = require(‘crypto’).randomBytes(256).toString(‘hex’); // Export config object module.exports = {    secret:crypto, } Add below lines in server.js/index.js var config = require(‘./config/conf’); var jwt = require(‘jsonwebtoken’); var user =Continue reading “Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-5”

Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-4

I will explain about user registration using angular 6. Create 3 components sign in and signup & API service using angular-cli. ng g component components/user/signin ng g component components/user/signup ng g service services/api ng g component components/user/userslist Now check the files in src/components/user and src/services. Paste the below code in respected files. install Cryptojs forContinue reading “Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-4”

Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-3

This session, I am explaining about node server creation and table operations from MySQL database using sequelize models. First, initialize Node using below command and fill the required details. npm init now create index.js (mentioned in entry point) file and paste below code. //======== Import Required Files =============== var express = require(‘express’); var bodyparser =Continue reading “Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-3”

Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-2

I am explaining about node and MySQL connections using sequelize. You need to install Express, Sequelize, Body Parser, Express Handlebars, Cors and JWT using below command npm i express sequelize mysql2 body-parser express-handlebars cors jsonwebtoken Express – Node js framework. Sequelize – ORM concept for Node. Body Parser – It is used to handle theContinue reading “Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-2”

Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-1

In this blog, I am explaining about node and MySQL connections using sequelize, ORM & Models Creation using sequelize, jwt for user authentication and angular 6 for the frontend. First, we need to install Node, Git, any Editor you like Ex: Visual studio code, Atom, Notepad++ etc(I am using Visual studio code). Download links areContinue reading “Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-1”

Create your website with WordPress.com
Get started