The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
delete unused sites
Jonathan Summers-Muirf0dc8fb7893a
diff --git a/apps/temp-community-forum/.eslintrc.js b/apps/temp-community-forum/.eslintrc.jsdeleted file mode 100644index e0b422e408e..00000000000--- a/apps/temp-community-forum/.eslintrc.js+++ /dev/null@@ -1 +0,0 @@-module.exports = require('config/eslint-preset')diff --git a/apps/temp-community-forum/README.md b/apps/temp-community-forum/README.mddeleted file mode 100644index 1d67ece731b..00000000000--- a/apps/temp-community-forum/README.md+++ /dev/null@@ -1,30 +0,0 @@-## Getting Started--First, run the development server:--```bash-yarn dev-```--Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.--You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.--[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.--The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.--## Learn More--To learn more about Next.js, take a look at the following resources:--- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.-- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.--You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!--## Deploy on Vercel--The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_source=github.com&utm_medium=referral&utm_campaign=turborepo-readme) from the creators of Next.js.--Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.diff --git a/apps/temp-community-forum/next-env.d.ts b/apps/temp-community-forum/next-env.d.tsdeleted file mode 100644index 4f11a03dc6c..00000000000--- a/apps/temp-community-forum/next-env.d.ts+++ /dev/null@@ -1,5 +0,0 @@-/// <reference types="next" />-/// <reference types="next/image-types/global" />--// NOTE: This file should not be edited-// see https://nextjs.org/docs/basic-features/typescript for more information.diff --git a/apps/temp-community-forum/next.config.js b/apps/temp-community-forum/next.config.jsdeleted file mode 100644index 6e4744fdc65..00000000000--- a/apps/temp-community-forum/next.config.js+++ /dev/null@@ -1,5 +0,0 @@-const withTM = require('next-transpile-modules')(['common'])--module.exports = withTM({- reactStrictMode: true,-})diff --git a/apps/temp-community-forum/package.json b/apps/temp-community-forum/package.jsondeleted file mode 100644index c5984bf7e45..00000000000--- a/apps/temp-community-forum/package.json+++ /dev/null@@ -1,30 +0,0 @@-{- "name": "forum",- "version": "0.0.0",- "private": true,- "scripts": {- "dev": "next dev --port 3002",- "build": "next build",- "start": "next start",- "lint": "next lint"- },- "dependencies": {- "@octokit/graphql": "^4.8.0",- "colorette": "^1.4.0",- "common": "*",- "next": "12.0.8",- "react": "17.0.2",- "react-dom": "17.0.2",- "string-hash": "^1.1.3"- },- "devDependencies": {- "@types/node": "^17.0.12",- "@types/react": "17.0.37",- "config": "*",- "eslint": "7.32.0",- "mini-svg-data-uri": "^1.4.4",- "next-transpile-modules": "9.0.0",- "tsconfig": "*",- "typescript": "^4.5.3"- }-}diff --git a/apps/temp-community-forum/postcss.config.js b/apps/temp-community-forum/postcss.config.jsdeleted file mode 100644index 29c447cb54b..00000000000--- a/apps/temp-community-forum/postcss.config.js+++ /dev/null@@ -1 +0,0 @@-module.exports = require('config/postcss.config')diff --git a/apps/temp-community-forum/src/pages/_app.tsx b/apps/temp-community-forum/src/pages/_app.tsxdeleted file mode 100644index 2d0cd5807e9..00000000000--- a/apps/temp-community-forum/src/pages/_app.tsx+++ /dev/null@@ -1,9 +0,0 @@-import React from 'react'-import Main from '.'-import '../styles/tailwind.css'--const Index = () => {- return <Main />-}--export default Indexdiff --git a/apps/temp-community-forum/src/pages/index.tsx b/apps/temp-community-forum/src/pages/index.tsxdeleted file mode 100644index c7381379165..00000000000--- a/apps/temp-community-forum/src/pages/index.tsx+++ /dev/null@@ -1,35 +0,0 @@-import { fetchDiscussions } from '../utils/api'-import { Button, Layouts } from 'common'-import { useEffect, useState } from 'react'--export default function Main() {- const [discussionList, setDiscussionList] = useState([] as any[])-- useEffect(() => {- async function fetchData() {- const discussions = await fetchDiscussions()- setDiscussionList(discussions)- }- fetchData()- }, [])-- return (- <Layouts.SidebarLayout- sidebarContent={- <div className="p-4 text-white">- <div className="text-sm uppercase">Categories</div>- <div>One</div>- <div>Two</div>- </div>- }- >- <h1 className="text-2xl font-semibold text-gray-900">Discussions</h1>- {discussionList.map((x) => (- <div className="pb-4">- <h2 className="text-lg font-semibold">{x.title}</h2>- <p>{x.body}</p>- </div>- ))}- </Layouts.SidebarLayout>- )-}diff --git a/apps/temp-community-forum/src/styles/tailwind.css b/apps/temp-community-forum/src/styles/tailwind.cssdeleted file mode 100644index b5c61c95671..00000000000--- a/apps/temp-community-forum/src/styles/tailwind.css+++ /dev/null@@ -1,3 +0,0 @@-@tailwind base;-@tailwind components;-@tailwind utilities;diff --git a/apps/temp-community-forum/src/utils/api.ts b/apps/temp-community-forum/src/utils/api.tsdeleted file mode 100644index dfdb13906fb..00000000000--- a/apps/temp-community-forum/src/utils/api.ts+++ /dev/null@@ -1,45 +0,0 @@-import { graphql } from '@octokit/graphql'--const query = `-{- repository(owner: "supabase", name: "supabase") {- discussions(first: 10) {- nodes {- id- author {- avatarUrl- url- login- }- body- title- answer {- author {- avatarUrl- login- }- body- createdAt- }- createdAt- }- totalCount- pageInfo {- startCursor- endCursor- hasNextPage- hasPreviousPage- }- }- }-}-`-export async function fetchDiscussions() {- // @ts-ignore- const { repository } = await graphql(query, {- headers: {- authorization: `token ${process.env.NEXT_PUBLIC_DISCUSSIONS_TOKEN}`,- },- })- return repository.discussions.nodes-}diff --git a/apps/temp-community-forum/tailwind.config.js b/apps/temp-community-forum/tailwind.config.jsdeleted file mode 100644index 9c2af498997..00000000000--- a/apps/temp-community-forum/tailwind.config.js+++ /dev/null@@ -1 +0,0 @@-module.exports = require('config/tailwind.config')diff --git a/apps/temp-community-forum/tsconfig.json b/apps/temp-community-forum/tsconfig.jsondeleted file mode 100644index a355365ba65..00000000000--- a/apps/temp-community-forum/tsconfig.json+++ /dev/null@@ -1,5 +0,0 @@-{- "extends": "tsconfig/nextjs.json",- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],- "exclude": ["node_modules"]-}diff --git a/apps/temp-community-tutorials/.eslintrc.js b/apps/temp-community-tutorials/.eslintrc.jsdeleted file mode 100644index e0b422e408e..00000000000--- a/apps/temp-community-tutorials/.eslintrc.js+++ /dev/null@@ -1 +0,0 @@-module.exports = require('config/eslint-preset')diff --git a/apps/temp-community-tutorials/README.md b/apps/temp-community-tutorials/README.mddeleted file mode 100644index 1d67ece731b..00000000000--- a/apps/temp-community-tutorials/README.md+++ /dev/null@@ -1,30 +0,0 @@-## Getting Started--First, run the development server:--```bash-yarn dev-```--Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.--You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.--[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.--The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.--## Learn More--To learn more about Next.js, take a look at the following resources:--- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.-- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.--You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!--## Deploy on Vercel--The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_source=github.com&utm_medium=referral&utm_campaign=turborepo-readme) from the creators of Next.js.--Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.diff --git a/apps/temp-community-tutorials/next-env.d.ts b/apps/temp-community-tutorials/next-env.d.tsdeleted file mode 100644index 4f11a03dc6c..00000000000--- a/apps/temp-community-tutorials/next-env.d.ts+++ /dev/null@@ -1,5 +0,0 @@-/// <reference types="next" />-/// <reference types="next/image-types/global" />--// NOTE: This file should not be edited-// see https://nextjs.org/docs/basic-features/typescript for more information.diff --git a/apps/temp-community-tutorials/next.config.js b/apps/temp-community-tutorials/next.config.jsdeleted file mode 100644index 6e4744fdc65..00000000000--- a/apps/temp-community-tutorials/next.config.js+++ /dev/null@@ -1,5 +0,0 @@-const withTM = require('next-transpile-modules')(['common'])--module.exports = withTM({- reactStrictMode: true,-})diff --git a/apps/temp-community-tutorials/package.json b/apps/temp-community-tutorials/package.jsondeleted file mode 100644index 473ca829340..00000000000--- a/apps/temp-community-tutorials/package.json+++ /dev/null@@ -1,27 +0,0 @@-{- "name": "tutorials",- "version": "0.0.0",- "private": true,- "scripts": {- "dev": "next dev --port 3003",- "build": "next build",- "start": "next start",- "lint": "next lint"- },- "dependencies": {- "colorette": "^1.4.0",- "common": "*",- "next": "12.0.8",- "react": "17.0.2",- "react-dom": "17.0.2"- },- "devDependencies": {- "@types/node": "^17.0.12",- "@types/react": "17.0.37",- "config": "*",- "eslint": "7.32.0",- "next-transpile-modules": "9.0.0",- "tsconfig": "*",- "typescript": "^4.5.3"- }-}diff --git a/apps/temp-community-tutorials/postcss.config.js b/apps/temp-community-tutorials/postcss.config.jsdeleted file mode 100644index 29c447cb54b..00000000000--- a/apps/temp-community-tutorials/postcss.config.js+++ /dev/null@@ -1 +0,0 @@-module.exports = require('config/postcss.config')diff --git a/apps/temp-community-tutorials/src/pages/_app.tsx b/apps/temp-community-tutorials/src/pages/_app.tsxdeleted file mode 100644index 2d0cd5807e9..00000000000--- a/apps/temp-community-tutorials/src/pages/_app.tsx+++ /dev/null@@ -1,9 +0,0 @@-import React from 'react'-import Main from '.'-import '../styles/tailwind.css'--const Index = () => {- return <Main />-}--export default Indexdiff --git a/apps/temp-community-tutorials/src/pages/index.tsx b/apps/temp-community-tutorials/src/pages/index.tsxdeleted file mode 100644index 2e5771c0ae1..00000000000--- a/apps/temp-community-tutorials/src/pages/index.tsx+++ /dev/null@@ -1,27 +0,0 @@-import { fetchPosts, DevPost } from '../utils/api'-import { Button, Layouts } from 'common'-import { useEffect, useState } from 'react'--export default function Main() {- const [postList, setPostList] = useState([] as DevPost[])-- useEffect(() => {- async function fetchData() {- const posts = await fetchPosts()- setPostList(posts)- }- fetchData()- }, [])-- return (- <Layouts.SidebarLayout sidebarContent={<div>Shared Sidebar</div>}>- <h1 className="text-2xl font-semibold text-gray-900">Tutorials</h1>- {postList.map((x) => (- <div className="pb-4">- <h2>{x.title}</h2>- <p>{x.description}</p>- </div>- ))}- </Layouts.SidebarLayout>- )-}diff --git a/apps/temp-community-tutorials/src/styles/tailwind.css b/apps/temp-community-tutorials/src/styles/tailwind.cssdeleted file mode 100644index b5c61c95671..00000000000--- a/apps/temp-community-tutorials/src/styles/tailwind.css+++ /dev/null@@ -1,3 +0,0 @@-@tailwind base;-@tailwind components;-@tailwind utilities;diff --git a/apps/temp-community-tutorials/src/utils/api.ts b/apps/temp-community-tutorials/src/utils/api.tsdeleted file mode 100644index baa1b180f00..00000000000--- a/apps/temp-community-tutorials/src/utils/api.ts+++ /dev/null@@ -1,55 +0,0 @@-const username = 'supabase'-const postsUrl = `https://dev.to/api/articles?username=${username}`--// Defines a Post returned from the DEV API-export type DevPost = {- id: Number- title: string- description: string- slug: string- url: string- path: string- readable_publish_date: string- published_at: string- tags: string- tag_list: string[]- comments_count: Number- public_reactions_count: Number- positive_reactions_count: Number- published: boolean- first_published_at: string- edited_at: string- user: {- username: string- name: string- profile_image_90: string- cover_image_90: string- profile_image_original: string- cover_image_original: string- location: string- website: string- bio: string- twitter_username: string- github_username: string- dribbble_username: string- path: string- }- organization: {- id: Number- name: string- slug: string- profile_image_90: string- profile_imag: string- }-}--export async function fetchPosts() {- try {- const res = await fetch(postsUrl)- const data: DevPost[] = await res.json()- return data- } catch (err) {- console.log(err)- return []- }-}diff --git a/apps/temp-community-tutorials/tailwind.config.js b/apps/temp-community-tutorials/tailwind.config.jsdeleted file mode 100644index 9c2af498997..00000000000--- a/apps/temp-community-tutorials/tailwind.config.js+++ /dev/null@@ -1 +0,0 @@-module.exports = require('config/tailwind.config')diff --git a/apps/temp-community-tutorials/tsconfig.json b/apps/temp-community-tutorials/tsconfig.jsondeleted file mode 100644index a355365ba65..00000000000--- a/apps/temp-community-tutorials/tsconfig.json+++ /dev/null@@ -1,5 +0,0 @@-{- "extends": "tsconfig/nextjs.json",- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],- "exclude": ["node_modules"]-}