Testing SparkPost - the world's most awesomest email service!
30 | ${linkText} 31 | 32 | ` 33 | }; 34 | 35 | transporter.sendMail(message, (err, info) => { 36 | if (err) { 37 | console.log("Error occurred. " + err.message); 38 | } 39 | 40 | console.log("Message sent: %s", info.messageId); 41 | // Preview only available when sending through an Ethereal account 42 | console.log("Preview URL: %s", nodemailer.getTestMessageUrl(info)); 43 | }); 44 | }); 45 | }; 46 | -------------------------------------------------------------------------------- /packages/server/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es6", 4 | "module": "commonjs", 5 | "lib": ["dom", "es6", "es2017", "esnext.asynciterable"], 6 | "sourceMap": true, 7 | "outDir": "./dist", 8 | "moduleResolution": "node", 9 | 10 | "removeComments": true, 11 | "noImplicitAny": true, 12 | "strictNullChecks": true, 13 | "strictFunctionTypes": true, 14 | "noImplicitThis": true, 15 | "noUnusedLocals": true, 16 | "noUnusedParameters": true, 17 | "noImplicitReturns": true, 18 | "noFallthroughCasesInSwitch": true, 19 | "allowSyntheticDefaultImports": false, 20 | "emitDecoratorMetadata": true, 21 | "experimentalDecorators": true, 22 | "baseUrl": "..", 23 | "paths": { 24 | "@abb/*": ["./*/src"] 25 | } 26 | }, 27 | "exclude": ["node_modules"], 28 | "include": ["./src/**/*.tsx", "./src/**/*.ts"] 29 | } 30 | -------------------------------------------------------------------------------- /packages/server/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../tslint.json"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/web/.env.development: -------------------------------------------------------------------------------- 1 | REACT_APP_SERVER_URL=http://localhost:4000 2 | REACT_APP_SERVER_WS_URL=ws://localhost:4000 -------------------------------------------------------------------------------- /packages/web/.env.production: -------------------------------------------------------------------------------- 1 | REACT_APP_SERVER_URL= 2 | REACT_APP_SERVER_WS_URL= -------------------------------------------------------------------------------- /packages/web/images.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.svg' 2 | declare module '*.png' 3 | declare module '*.jpg' 4 | -------------------------------------------------------------------------------- /packages/web/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@abb/web", 3 | "version": "0.1.0", 4 | "private": true, 5 | "devDependencies": { 6 | "@types/apollo-upload-client": "^8.1.0", 7 | "@types/jest": "^23.0.2", 8 | "@types/node": "^10.3.2", 9 | "@types/react": "^16.3.17", 10 | "@types/react-dom": "^16.0.6", 11 | "@types/react-dropzone": "^4.2.0", 12 | "@types/react-geosuggest": "^2.7.7", 13 | "@types/react-router-dom": "^4.2.7", 14 | "@types/yup": "^0.24.6", 15 | "react-scripts-ts": "2.16.0", 16 | "typescript": "^3.0.3" 17 | }, 18 | "dependencies": { 19 | "@abb/common": "1.0.0", 20 | "@abb/controller": "1.0.0", 21 | "antd": "^3.6.2", 22 | "apollo-cache-inmemory": "^1.2.4", 23 | "apollo-client": "^2.3.4", 24 | "apollo-link": "^1.2.2", 25 | "apollo-link-http": "^1.5.4", 26 | "apollo-link-ws": "^1.0.8", 27 | "apollo-upload-client": "^8.1.0", 28 | "apollo-utilities": "^1.0.17", 29 | "formik": "^1.0.1", 30 | "graphql": "^0.13.2", 31 | "graphql-tag": "^2.9.2", 32 | "react": "^16.4.0", 33 | "react-apollo": "^2.1.5", 34 | "react-dom": "^16.4.0", 35 | "react-dropzone": "^4.2.13", 36 | "react-geosuggest": "^2.8.0", 37 | "react-google-maps": "^9.4.5", 38 | "react-router-dom": "^4.3.1", 39 | "yup": "^0.25.1" 40 | }, 41 | "scripts": { 42 | "start": "react-scripts-ts start", 43 | "build": "react-scripts-ts build", 44 | "test": "react-scripts-ts test --env=jsdom", 45 | "eject": "react-scripts-ts eject" 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /packages/web/public/_redirects: -------------------------------------------------------------------------------- 1 | /* /index.html 200 -------------------------------------------------------------------------------- /packages/web/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benawad/fullstack-graphql-airbnb-clone/75efa273298c68aecc4c858c5671d48cc75b5e49/packages/web/public/favicon.ico -------------------------------------------------------------------------------- /packages/web/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | 14 | 15 | 24 |Try dropping some files here, or click to select files to upload.
23 |