While looking at react-s3-uploader’s npm documentation it seemed really cool and the fastest way to get the job done so on the react side all we had to add was <ReactS3Uploader className={‘uploader’} signingUrl=”/s3/sign” signingUrlMethod=”GET” accept=”.doc,.docx,.pdf” s3path=”/uploads/” onProgress={this.onProgress} onError={this.onError} onFinish={this.onFinish} uploadRequestHeaders={{ ‘x-amz-acl’: ‘public-read’ }} ref={fileInput => (this.fileInput = fileInput)} contentDisposition=”auto” /> and on the node side… Read more

Every form we build we are looking for a JSON or a JS array of US states that we can export from a constant file export const states = [ { text: ‘Alabama’, value: ‘AL’, }, { text: ‘Alaska’, value: ‘AK’, }, { text: ‘American Samoa’, value: ‘AS’, }, { text: ‘Arizona’, value: ‘AZ’, },… Read more

Setting up ESLint can seem daunting but luckily we can help We hope you know why you are doing it but if not in short ESLint and Prettier can help your team maintain code quality and same formatting throughout the project. If your company has more than 1 frontend developer you will realize different developers… Read more

/* for demo and quick start place this code in your app.js or server.js please run ‘npm install puretext –save’ in terminal */ const puretext = require(‘puretext’); require(‘request’); let text = { // To Number is the number you will be sending the text to. toNumber: ‘+X-XXX-XXX-XXXX’, // From number is the number you will… Read more

It solves a problem but beyond that, it’s a proven concept just because something solves a problem does not make it a design pattern it has to be a proven concept that works in a lot of different areas in a lot of different applications and the solution of the problem cannot be obvious. It… Read more