The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add chart
Joshen Lim56f6b34dddcd
diff --git a/www/data/BetaPage.js b/www/data/BetaPage.jsindex 22d668cd4a0..614d134c678 100644--- a/www/data/BetaPage.js+++ b/www/data/BetaPage.js@@ -148,4 +148,17 @@ export const IntroductionSegments = [description: "And finally, we are bringing on 23 new Funding Partners to help us achieve our goal of becoming the default backend for every business. Find out who they are, and what we have in store for 2021.",chapters: ['Funding Partners', 'Scaling Our Team', 'What\'s Next']},+]++export const PerformanceComparisonData = [+ {+ name: 'Supabase',+ read: 1167,+ write: 870+ },+ {+ name: 'Firebase',+ read: 366,+ write: 280+ }]\ No newline at end of filediff --git a/www/package-lock.json b/www/package-lock.jsonindex d8e0deb8432..fea13b96fa1 100644--- a/www/package-lock.json+++ b/www/package-lock.json@@ -341,6 +341,19 @@"integrity": "sha512-2koNhpWm3DgWRp5tpkiJ8JGc1xTn2q0l+jUNUE7oMKXUf5NpI9AIdC4kbjGNFBdHtcxBD18LAksoudAVhFKCjw==","dev": true},+ "@types/d3-path": {+ "version": "1.0.9",+ "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-1.0.9.tgz",+ "integrity": "sha512-NaIeSIBiFgSC6IGUBjZWcscUJEq7vpVu7KthHN8eieTV9d9MqkSOZLH4chq1PmcKy06PNe3axLeKmRIyxJ+PZQ=="+ },+ "@types/d3-shape": {+ "version": "1.3.5",+ "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-1.3.5.tgz",+ "integrity": "sha512-aPEax03owTAKynoK8ZkmkZEDZvvT4Y5pWgii4Jp4oQt0gH45j6siDl9gNDVC5kl64XHN2goN9jbYoHK88tFAcA==",+ "requires": {+ "@types/d3-path": "^1"+ }+ },"@types/hast": {"version": "2.3.1","resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.1.tgz",@@ -398,14 +411,12 @@"@types/prop-types": {"version": "15.7.3","resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz",- "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==",- "dev": true+ "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw=="},"@types/react": {"version": "16.14.1","resolved": "https://registry.npmjs.org/@types/react/-/react-16.14.1.tgz","integrity": "sha512-32mxrbX62m5b+lMTSzucFKNIr8Eq4T6T3rDVxYzKqyRwyfnPcwZppWW0YXUlPNPUE+r6phBtHXYRgr8ad/Zl9A==",- "dev": true,"requires": {"@types/prop-types": "*"}@@ -437,6 +448,15 @@"@types/react": "*"}},+ "@types/recharts": {+ "version": "1.8.17",+ "resolved": "https://registry.npmjs.org/@types/recharts/-/recharts-1.8.17.tgz",+ "integrity": "sha512-M3tONAszItN8EkI6k+Gbqy89LhSyyEkATJG1SRuKJ5/RHcgBRKPDlZJzh6elAmA+lObdCx4Nfpu2viEPtq1tJg==",+ "requires": {+ "@types/d3-shape": "^1",+ "@types/react": "*"+ }+ },"@types/unist": {"version": "2.0.3","resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.3.tgz",@@ -745,7 +765,6 @@"version": "1.1.5","resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz","integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",- "optional": true,"requires": {"delegates": "^1.0.0","readable-stream": "^2.0.6"@@ -755,7 +774,6 @@"version": "2.3.7","resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz","integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",- "optional": true,"requires": {"core-util-is": "~1.0.0","inherits": "~2.0.3",@@ -769,14 +787,12 @@"safe-buffer": {"version": "5.1.2","resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",- "optional": true+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="},"string_decoder": {"version": "1.1.1","resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz","integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",- "optional": true,"requires": {"safe-buffer": "~5.1.0"}@@ -1025,7 +1041,6 @@"version": "4.0.3","resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz","integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",- "optional": true,"requires": {"buffer": "^5.5.0","inherits": "^2.0.4",@@ -1374,8 +1389,7 @@"code-point-at": {"version": "1.1.0","resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",- "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",- "optional": true+ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c="},"collapse-white-space": {"version": "1.0.6",@@ -1508,8 +1522,7 @@"console-control-strings": {"version": "1.1.0","resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",- "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",- "optional": true+ "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4="},"constants-browserify": {"version": "1.0.0",@@ -1557,6 +1570,11 @@"toggle-selection": "^1.0.6"}},+ "core-js": {+ "version": "2.6.12",+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz",+ "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ=="+ },"core-util-is": {"version": "1.0.2","resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",@@ -1854,6 +1872,73 @@"type": "^1.0.1"}},+ "d3-array": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz",+ "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw=="+ },+ "d3-collection": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.7.tgz",+ "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A=="+ },+ "d3-color": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-1.4.1.tgz",+ "integrity": "sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q=="+ },+ "d3-format": {+ "version": "1.4.5",+ "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.5.tgz",+ "integrity": "sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ=="+ },+ "d3-interpolate": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.4.0.tgz",+ "integrity": "sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==",+ "requires": {+ "d3-color": "1"+ }+ },+ "d3-path": {+ "version": "1.0.9",+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz",+ "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg=="+ },+ "d3-scale": {+ "version": "2.2.2",+ "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-2.2.2.tgz",+ "integrity": "sha512-LbeEvGgIb8UMcAa0EATLNX0lelKWGYDQiPdHj+gLblGVhGLyNbaCn3EvrJf0A3Y/uOOU5aD6MTh5ZFCdEwGiCw==",+ "requires": {+ "d3-array": "^1.2.0",+ "d3-collection": "1",+ "d3-format": "1",+ "d3-interpolate": "1",+ "d3-time": "1",+ "d3-time-format": "2"+ }+ },+ "d3-shape": {+ "version": "1.3.7",+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz",+ "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==",+ "requires": {+ "d3-path": "1"+ }+ },+ "d3-time": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz",+ "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA=="+ },+ "d3-time-format": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.3.0.tgz",+ "integrity": "sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==",+ "requires": {+ "d3-time": "1"+ }+ },"data-uri-to-buffer": {"version": "3.0.0","resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-3.0.0.tgz",@@ -1875,6 +1960,11 @@"ms": "2.1.2"}},+ "decimal.js-light": {+ "version": "2.5.1",+ "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz",+ "integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg=="+ },"decode-uri-component": {"version": "0.2.0","resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz",@@ -1952,8 +2042,7 @@"delegates": {"version": "1.0.0","resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",- "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",- "optional": true+ "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o="},"depd": {"version": "1.1.2",@@ -1980,8 +2069,7 @@"detect-libc": {"version": "1.0.3","resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",- "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=",- "optional": true+ "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups="},"detective": {"version": "5.2.0",@@ -2627,8 +2715,7 @@"fs-constants": {"version": "1.0.0","resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",- "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",- "optional": true+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="},"fs-extra": {"version": "9.0.1",@@ -2703,7 +2790,6 @@"version": "2.7.4","resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz","integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",- "optional": true,"requires": {"aproba": "^1.0.3","console-control-strings": "^1.0.0",@@ -2718,14 +2804,12 @@"ansi-regex": {"version": "2.1.1","resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",- "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",- "optional": true+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="},"strip-ansi": {"version": "3.0.1","resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz","integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",- "optional": true,"requires": {"ansi-regex": "^2.0.0"}@@ -2811,8 +2895,7 @@"has-unicode": {"version": "2.0.1","resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",- "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",- "optional": true+ "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="},"has-value": {"version": "1.0.0",@@ -3198,7 +3281,6 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz","integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",- "optional": true,"requires": {"number-is-nan": "^1.0.0"}@@ -3455,6 +3537,11 @@"integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=","dev": true},+ "lodash.debounce": {+ "version": "4.0.8",+ "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",+ "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168="+ },"lodash.sortby": {"version": "4.7.0","resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",@@ -3479,6 +3566,11 @@"lodash._reinterpolate": "^3.0.0"}},+ "lodash.throttle": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz",+ "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ="+ },"lodash.toarray": {"version": "4.4.0","resolved": "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz",@@ -3553,6 +3645,11 @@"resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-1.1.3.tgz","integrity": "sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q=="},+ "math-expression-evaluator": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.3.3.tgz",+ "integrity": "sha512-geKTlqoxnjqHoWqB71h0kchWIC23a3yfwwbZu4E2amjvGLF+fTjCCwBQOHkE0/oHc6KdnSVmMt3QB82KaPmKEA=="+ },"md5.js": {"version": "1.3.5","resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",@@ -3858,8 +3955,7 @@"mkdirp-classic": {"version": "0.5.3","resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",- "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",- "optional": true+ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="},"modern-normalize": {"version": "1.0.0",@@ -4175,7 +4271,6 @@"version": "4.1.2","resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz","integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",- "optional": true,"requires": {"are-we-there-yet": "~1.1.2","console-control-strings": "~1.1.0",@@ -4192,8 +4287,7 @@"number-is-nan": {"version": "1.0.1","resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",- "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",- "optional": true+ "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0="},"object-assign": {"version": "4.1.1",@@ -4411,6 +4505,11 @@"sha.js": "^2.4.8"}},+ "performance-now": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",+ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="+ },"picomatch": {"version": "2.2.2","resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",@@ -5639,6 +5738,14 @@"resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz","integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM="},+ "raf": {+ "version": "3.4.1",+ "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",+ "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",+ "requires": {+ "performance-now": "^2.1.0"+ }+ },"randombytes": {"version": "2.1.0","resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",@@ -5714,11 +5821,59 @@"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz","integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="},+ "react-lifecycles-compat": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",+ "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA=="+ },"react-refresh": {"version": "0.8.3","resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.8.3.tgz","integrity": "sha512-X8jZHc7nCMjaCqoU+V2I0cOhNW+QMBwSUkeXnTi8IPe6zaRWfn60ZzvFDZqWPfmSJfjub7dDW1SP0jaHWLu/hg=="},+ "react-resize-detector": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/react-resize-detector/-/react-resize-detector-2.3.0.tgz",+ "integrity": "sha512-oCAddEWWeFWYH5FAcHdBYcZjAw9fMzRUK9sWSx6WvSSOPVRxcHd5zTIGy/mOus+AhN/u6T4TMiWxvq79PywnJQ==",+ "requires": {+ "lodash.debounce": "^4.0.8",+ "lodash.throttle": "^4.1.1",+ "prop-types": "^15.6.0",+ "resize-observer-polyfill": "^1.5.0"+ }+ },+ "react-smooth": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-1.0.5.tgz",+ "integrity": "sha512-eW057HT0lFgCKh8ilr0y2JaH2YbNcuEdFpxyg7Gf/qDKk9hqGMyXryZJ8iMGJEuKH0+wxS0ccSsBBB3W8yCn8w==",+ "requires": {+ "lodash": "~4.17.4",+ "prop-types": "^15.6.0",+ "raf": "^3.4.0",+ "react-transition-group": "^2.5.0"+ },+ "dependencies": {+ "dom-helpers": {+ "version": "3.4.0",+ "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-3.4.0.tgz",+ "integrity": "sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA==",+ "requires": {+ "@babel/runtime": "^7.1.2"+ }+ },+ "react-transition-group": {+ "version": "2.9.0",+ "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-2.9.0.tgz",+ "integrity": "sha512-+HzNTCHpeQyl4MJ/bdE0u6XRMe9+XG/+aL4mCxVN4DnPBQ0/5bfHWPDuOZUzYdMj94daZaZdCCc1Dzt9R/xSSg==",+ "requires": {+ "dom-helpers": "^3.4.0",+ "loose-envify": "^1.4.0",+ "prop-types": "^15.6.2",+ "react-lifecycles-compat": "^3.0.4"+ }+ }+ }+ },"react-syntax-highlighter": {"version": "15.3.1","resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-15.3.1.tgz",@@ -5760,6 +5915,49 @@"picomatch": "^2.2.1"}},+ "recharts": {+ "version": "1.8.5",+ "resolved": "https://registry.npmjs.org/recharts/-/recharts-1.8.5.tgz",+ "integrity": "sha512-tM9mprJbXVEBxjM7zHsIy6Cc41oO/pVYqyAsOHLxlJrbNBuLs0PHB3iys2M+RqCF0//k8nJtZF6X6swSkWY3tg==",+ "requires": {+ "classnames": "^2.2.5",+ "core-js": "^2.6.10",+ "d3-interpolate": "^1.3.0",+ "d3-scale": "^2.1.0",+ "d3-shape": "^1.2.0",+ "lodash": "^4.17.5",+ "prop-types": "^15.6.0",+ "react-resize-detector": "^2.3.0",+ "react-smooth": "^1.0.5",+ "recharts-scale": "^0.4.2",+ "reduce-css-calc": "^1.3.0"+ },+ "dependencies": {+ "balanced-match": {+ "version": "0.4.2",+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz",+ "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg="+ },+ "reduce-css-calc": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz",+ "integrity": "sha1-dHyRTgSWFKTJz7umKYca0dKSdxY=",+ "requires": {+ "balanced-match": "^0.4.2",+ "math-expression-evaluator": "^1.2.14",+ "reduce-function-call": "^1.0.1"+ }+ }+ }+ },+ "recharts-scale": {+ "version": "0.4.3",+ "resolved": "https://registry.npmjs.org/recharts-scale/-/recharts-scale-0.4.3.tgz",+ "integrity": "sha512-t8p5sccG9Blm7c1JQK/ak9O8o95WGhNXD7TXg/BW5bYbVlr6eCeRBNpgyigD4p6pSSMehC5nSvBUPj6F68rbFA==",+ "requires": {+ "decimal.js-light": "^2.4.1"+ }+ },"reduce-css-calc": {"version": "2.1.7","resolved": "https://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-2.1.7.tgz",@@ -5778,6 +5976,14 @@}}},+ "reduce-function-call": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/reduce-function-call/-/reduce-function-call-1.0.3.tgz",+ "integrity": "sha512-Hl/tuV2VDgWgCSEeWMLwxLZqX7OK59eU1guxXsRKTAyeYimivsKdtcV4fu3r710tpG5GmDKDhQ0HSZLExnNmyQ==",+ "requires": {+ "balanced-match": "^1.0.0"+ }+ },"refractor": {"version": "3.2.0","resolved": "https://registry.npmjs.org/refractor/-/refractor-3.2.0.tgz",@@ -5926,6 +6132,11 @@"resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz","integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs="},+ "resize-observer-polyfill": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",+ "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="+ },"resolve": {"version": "1.19.0","resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz",@@ -6141,8 +6352,7 @@"set-blocking": {"version": "2.0.0","resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",- "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",- "optional": true+ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc="},"set-value": {"version": "2.0.1",@@ -6199,14 +6409,12 @@"signal-exit": {"version": "3.0.3","resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",- "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==",- "optional": true+ "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA=="},"simple-concat": {"version": "1.0.1","resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",- "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",- "optional": true+ "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q=="},"simple-get": {"version": "4.0.0",@@ -6547,7 +6755,6 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz","integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",- "optional": true,"requires": {"code-point-at": "^1.0.0","is-fullwidth-code-point": "^1.0.0",@@ -6557,14 +6764,12 @@"ansi-regex": {"version": "2.1.1","resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",- "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",- "optional": true+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="},"strip-ansi": {"version": "3.0.1","resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz","integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",- "optional": true,"requires": {"ansi-regex": "^2.0.0"}@@ -6770,7 +6975,6 @@"version": "2.1.1","resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz","integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",- "optional": true,"requires": {"chownr": "^1.1.1","mkdirp-classic": "^0.5.2",@@ -6782,7 +6986,6 @@"version": "2.1.4","resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.4.tgz","integrity": "sha512-o3pS2zlG4gxr67GmFYBLlq+dM8gyRGUOvsrHclSkvtVtQbjV0s/+ZE8OpICbaj8clrX3tjeHngYGP7rweaBnuw==",- "optional": true,"requires": {"bl": "^4.0.3","end-of-stream": "^1.4.1",@@ -7081,7 +7284,6 @@"version": "0.6.0","resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz","integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",- "optional": true,"requires": {"safe-buffer": "^5.0.1"}@@ -7511,7 +7713,6 @@"version": "3.0.0","resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz","integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",- "optional": true,"requires": {"kind-of": "^3.0.2"}@@ -7526,7 +7727,6 @@"version": "3.2.2","resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz","integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",- "optional": true,"requires": {"is-buffer": "^1.1.5"}@@ -7560,8 +7760,7 @@"safe-buffer": {"version": "5.1.2","resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",- "optional": true+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="},"string_decoder": {"version": "1.1.1",@@ -7689,7 +7888,6 @@"version": "1.1.3","resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz","integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",- "optional": true,"requires": {"string-width": "^1.0.2 || 2"}diff --git a/www/package.json b/www/package.jsonindex a91004f0850..8988fd71c67 100644--- a/www/package.json+++ b/www/package.json@@ -11,6 +11,7 @@"typecheck": "tsc"},"dependencies": {+ "@types/recharts": "^1.8.17","classnames": "2.2.6","date-fns": "2.10.0","gray-matter": "4.0.2",@@ -19,10 +20,11 @@"react-copy-to-clipboard": "^5.0.2","react-dom": "^16.13.0","react-syntax-highlighter": "^15.3.1",+ "react-transition-group": "^4.4.1",+ "recharts": "^1.8.5","remark": "11.0.2","remark-html": "10.0.0",- "typescript": "^4.0.3",- "react-transition-group": "^4.4.1"+ "typescript": "^4.0.3"},"devDependencies": {"@types/classnames": "^2.2.10",diff --git a/www/pages/beta.tsx b/www/pages/beta.tsxindex c9e8829edf9..6f785682c0d 100644--- a/www/pages/beta.tsx+++ b/www/pages/beta.tsx@@ -1,11 +1,11 @@+import { BarChart, Bar, Cell, XAxis, YAxis, CartesianGrid, Tooltip, Legend, Label, LabelList, ResponsiveContainer } from 'recharts';+import Head from 'next/head'import Container from 'components/Container'import Layout from 'components/Layout'import CountUp from 'components/CountUp'-import { APP_NAME, DESCRIPTION } from 'lib/constants'--import { AlphaNumbers, IntroductionSegments } from 'data/BetaPage'+import { AlphaNumbers, IntroductionSegments, PerformanceComparisonData } from 'data/BetaPage'const site_title = `${APP_NAME} | We are now in Beta`@@ -36,7 +36,7 @@ const Introduction = () => (<div className="col-span-7 text-base mb-20"><p>- After the launch of our <span className="text-brand-700">Alpha</span> Program+ After the launch of our <span className="text-brand-700 hover:text-brand-800">Alpha</span> Programin June, we've been fortunate to work with thousands of early adopterson improving both our Open Source, and Hosted offerings.</p>@@ -92,55 +92,107 @@ const Introduction = () => (</div>)-const Performance = () => (- <div id="performance" className="bg-white">- <div className="container mx-auto px-28 py-20 grid grid-cols-12 gap-y-10">- <SectionHeader sectionNumber={1} header="Performance" />-- <div className="col-span-12 grid grid-cols-12 gap-x-8 mb-10">- <div className="col-span-7 text-base">- <p className="mb-10">- Supabase grew out of a need for a faster and more scalable web-ready datastore.- Postgres enables our users to handle massive amounts of data without sacrificing read and write speed.- </p>- <p className="mb-10">- During our Alpha program we have been obsessively tweaking our stack to tease out superior performance.- We chose the hyper-scalable <a href="#" target="_blank" className="text-brand-700">Elixer</a> to handle- our <a href="#" target="_blank" className="text-brand-700">Realtime engine</a>, and have supported- the <a href="#" target="_blank" className="text-brand-700">PostgREST</a> team while they improved the- performance of their auto-generated CRUD APIs.- </p>- <p>- We are proud to publish the results of our benchmarks here and we'll continue to seek gains throughout- our Beta program and beyond. Our <a href="#" target="_blank" className="text-brand-700">benchmarks</a> are- Open Source, and we are seeking contributors to help maintain our code and improve on our methodologies.- </p>- </div>- </div>-- <div className="col-span-12 bg-dark-200 flex items-center justify-center py-64 text-center mb-10">- Benchmark graph goes here- </div>+const Performance = () => {++ const readColors = ["#38BC81", "red"]+ const writeColors = ["#65D9A5", "pink"]++ type labelProps = {+ x: number,+ y: number,+ width: number,+ height: number,+ text?: string,+ }++ const renderCustomizedLabel = (props: labelProps) => {+ const { x, y, width, text } = props;+ const radius = 10;++ return (+ <text x={x + width / 2} y={y - radius} fill="#000" textAnchor="middle" dominantBaseline="middle" fontSize={14}>+ Read+ </text>+ );+ };++ // Documentation on recharts:+ // http://recharts.org/en-US/api/Bar+ const ComparisonChart = () => (+ <ResponsiveContainer width="100%" height={300}>+ <BarChart data={PerformanceComparisonData}>+ <CartesianGrid strokeDasharray="3 3" />+ <XAxis dataKey="name" />+ <YAxis type="number" padding={{ top: 20 }}>+ <Label+ value="requests/s"+ position="insideLeft"+ angle={-90}+ style={{ textAnchor: 'middle' }}+ />+ </YAxis>+ <Tooltip />+ {/* <Legend /> */}+ <Bar dataKey="read" name="Read" barSize={20} unit=" requests/s">+ {PerformanceComparisonData.map((entry: any, idx: number) =>(+ <Cell key={`cell_${idx}`} fill={readColors[idx]} />+ ))}+ <LabelList content={(props) => renderCustomizedLabel(props)} position="top" />+ </Bar>+ <Bar dataKey="write" name="Write" barSize={20} unit=" requests/s">+ {PerformanceComparisonData.map((entry: any, idx: number) =>(+ <Cell key={`cell_${idx}`} fill={writeColors[idx]} />+ ))}+ </Bar>+ </BarChart>+ </ResponsiveContainer>+ )- <div className="col-span-12 grid grid-cols-12 gap-x-8">- <div className="col-span-7 text-base">- <p className="mb-10">- Supabase is now available in 7 different geographic regions, so you can reduce latency by deploying in close- proximity to your customer base.- </p>- <p className="mb-10">- A key metric in how we measure Supabase is what we call "Time to Value". How fast can a user go from sign up,- to making their first API request? How fast can they from being in Production and generating value for their- own customers? We've made several case studies available on our website here, with a special focus on how Supabase- enables them to build and scale their product in as little time as possible.- </p>+ return (+ <div id="performance" className="bg-white">+ <div className="container mx-auto px-28 py-20 grid grid-cols-12 gap-y-10">+ <SectionHeader sectionNumber={1} header="Performance" />++ <div className="col-span-12 grid grid-cols-12 gap-x-8 mb-10 items-center">+ <div className="col-span-7 text-base">+ <p className="mb-10">+ Supabase grew out of a need for a faster and more scalable web-ready datastore.+ Postgres enables our users to handle massive amounts of data without sacrificing read and write speed.+ </p>+ <p className="mb-10">+ During our Alpha program we have been obsessively tweaking our stack to tease out superior performance.+ We chose the hyper-scalable <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">Elixer</a> to handle+ our <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">Realtime engine</a>, and have supported+ the <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">PostgREST</a> team while they improved the+ performance of their auto-generated CRUD APIs.+ </p>+ <p>+ We are proud to publish the results of our benchmarks here and we'll continue to seek gains throughout+ our Beta program and beyond. Our <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">benchmarks</a> are+ Open Source, and we are seeking contributors to help maintain our code and improve on our methodologies.+ </p>+ </div>+ <div className="col-span-5">+ <ComparisonChart />+ </div>+ <div className="col-span-7 text-base">+ <p className="mt-10 mb-10">+ Supabase is now available in 7 different geographic regions, so you can reduce latency by deploying in close+ proximity to your customer base.+ </p>+ <p>+ A key metric in how we measure Supabase is what we call "Time to Value". How fast can a user go from sign up,+ to making their first API request? How fast can they from being in Production and generating value for their+ own customers? We've made several case studies available on our website here, with a special focus on how Supabase+ enables them to build and scale their product in as little time as possible.+ </p>+ </div></div>- <div className="col-span-6"></div>- </div>+ </div></div>- </div>-)+ )+}const Security = () => (<div id="security" className="bg-gray-50">@@ -155,7 +207,7 @@ const Security = () => (An automated brute force attack accessed a handful of our customer's databases who had chosen weak passwords.The instances involved were destroyed, and the users involved reminded the importance of strong passwords.We now require that all database passwords pass a strength test (provided by the- excellent <a href="#" target="_blank" className="text-brand-700">zxcvbn</a>).+ excellent <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">zxcvbn</a>).</p><p className="mb-5">Approaching the launch of our Beta period, we have been working with a number of security advisors and@@ -176,7 +228,7 @@ const Security = () => (various components of our systems.</li><li>- Adopted the <a href="#" target="_blank" className="text-brand-700">Snyk</a> dependency monitor as part of+ Adopted the <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">Snyk</a> dependency monitor as part ofour SSDLC on several key component of our system, to help locate potential vulnerabilities in third partyOpen Source dependencies.</li>@@ -199,7 +251,7 @@ const Security = () => (various components of our systems.</div><div className="col-span-6 bg-white shadow-md rounded-md px-4 py-4">- Adopted the <a href="#" target="_blank" className="text-brand-700">Snyk</a> dependency monitor as part of our SSDLC on several key component of our system, to help locate+ Adopted the <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">Snyk</a> dependency monitor as part of our SSDLC on several key component of our system, to help locatepotential vulnerabilities in third party Open Source dependencies.</div></div> */}@@ -235,7 +287,7 @@ const Reliability = () => (data is backed up in a secure and encrypted location.</p><p className="mb-10">- We're launching <a href="#" target="_blank" className="text-brand-700">https://status.supabase.io</a> to+ We're launching <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">https://status.supabase.io</a> tokeep track of uptime across all of our services and critical infrastructure. (Possibly drop a screen grab here)</p><p>@@ -357,17 +409,17 @@ const OpenSource = () => (community, we rely on making it easier for contributors to get involved by making Open Source more accessible.</p><p className="mb-10">- Every dollar that is given to Supabase in GitHub <a href="#" target="_blank" className="text-brand-700">sponsorship</a> will+ Every dollar that is given to Supabase in GitHub <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">sponsorship</a> willbe funneled back into the community to support the next generation of Open Source maintainers.</p><p className="mb-10">One of the biggest barriers to Open Source is knowing exactly how you can contribute. We're partnering- with <a href="#" target="_blank" className="text-brand-700">Strive School</a> to educate the next generation+ with <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">Strive School</a> to educate the next generationof programmers in Open Source by providing tutorials, Founder Office Hours, and other free resources.</p><p>If you teach programming, and you're interested in offering OSS tuition to your students, we're actively looking- for more education partners. Email <a href="mailto:[email protected]" target="_blank" className="text-brand-700">[email protected]</a> to+ for more education partners. Email <a href="mailto:[email protected]" target="_blank" className="text-brand-700 hover:text-brand-800">[email protected]</a> tofind out more.</p></div>@@ -393,7 +445,7 @@ const ScalingOurTeam = () => (We are looking for hires across multiple positions including PostgreSQL engineers, Cloud engineers, SRE's, andDeveloper Advocates. We are a fully remote team, spanning 4 continents and 10 nationalities. If you areinterested and think you can be a factor in the success of Supabase, get in touch at- <a href="mailto:[email protected]" target="_blank" className="text-brand-700">[email protected]</a>.+ <a href="mailto:[email protected]" target="_blank" className="text-brand-700 hover:text-brand-800">[email protected]</a>.</p></div></div>@@ -439,8 +491,8 @@ const WhatsNext = () => (</ul><p>We depend on your feedback to continually improve Supabase.Email us- at <a href="mailto:[email protected]" target="_blank" className="text-brand-700">[email protected]</a> or join- the <a href="#" target="_blank" className="text-brand-700">discussion</a> on GitHub to let us know how we+ at <a href="mailto:[email protected]" target="_blank" className="text-brand-700 hover:text-brand-800">[email protected]</a> or join+ the <a href="#" target="_blank" className="text-brand-700 hover:text-brand-800">discussion</a> on GitHub to let us know how wecan help you build things faster.</p></div>