Based on this blogpost.
Install with Homebrew:
$ brew install postgresqlRun server:
Based on this blogpost.
Install with Homebrew:
$ brew install postgresqlRun server:
| const maskDate = value => { | |
| let v = value.replace(/\D/g,'').slice(0, 10); | |
| if (v.length >= 5) { | |
| return `${v.slice(0,2)}/${v.slice(2,4)}/${v.slice(4)}`; | |
| } | |
| else if (v.length >= 3) { | |
| return `${v.slice(0,2)}/${v.slice(2)}`; | |
| } | |
| return v | |
| } |
| var AWS = require('aws-sdk'); | |
| AWS.config.update({ | |
| accessKeyId: '{AWS_KEY}', | |
| secretAccessKey: '{AWS_SECRET}', | |
| region: '{SNS_REGION}' | |
| }); | |
| var sns = new AWS.SNS(); |
| To start a new Create React App project with TypeScript, you can run: | |
| npx create-react-app my-app --typescript | |
| # or | |
| yarn create react-app my-app --typescript | |
| To add TypeScript to a Create React App project, first install it: | |
| npm install --save typescript @types/node @types/react @types/react-dom @types/jest |