Commit Graph
38771 Commits
Author SHA1 Message Date
Paul Copplestone ede962481f chore: I'm settling on the example structure: {framework}-{app-description}
This is more likely how people will search - looking first for the framework which they are familiar with
2020-11-17 19:54:22 +08:00
Paul Copplestone 71f9b3f6e0 chore: Adds the login functions 2020-11-17 19:50:07 +08:00
Alex Chiu 40eb5d8414 Example: Todo app using Vue + TS (#290)
* init new vue 3 project

* Installed Tailwind

* Removed vue router and rationalised boilerplate components

* Scaffolded main components + styling and positioning

* styling tweaks on todo component

* Installed supabase

* Track changes to the supabase user session

* helper to initalise supabase

* setup global ts types file

* Show Auth component when no userSession is available, if there is, user is logged in so show Todo List

* lint

* Composition function for auth. HandleLogin, hadle forgot password & logout

* Consume useAuth composition function in Auth component

* function renaming

* consume handle signup function and new function names

* consume new function name

* Added Footer component

* Implemented oAuth signin

* Spacing tweak

* Setup Todo component

* lint

* lint

* allowed for todo prop in component

* retreive todos and store in state

* Testing todo component with fake todo

* handle nulls in supabase call

* Iterate over allTodos and render Todo components

* spinner component

* Error handling on fetching todos

* consume fetch todos function

* Implementing Suspense and loading screen

* implemented update task completion

* added interface for Todos based on db schema

* Implemented insert task

* Implemented composition functions for adding and updating records

* tweaks

* Implemented deletetion of todo

* Updated readme

* Included example env.local file

* Update README.md

* Code tidyup added in comments

* Added comment

* Code cleanup

* Code cleanup and added in comments

* Added comments

* Code cleanup

* lint
2020-11-17 18:25:18 +08:00
Paul Copplestone ba2c73c2d7 Ignore local env secrets 2020-11-17 18:22:38 +08:00
Paul Copplestone db5a7a9261 docs: removes the wrapper code from the embedded filters. 2020-11-17 09:21:57 +08:00
Paul Copplestone 3d2c8c7ee9 Reverts back to the old supabase-js (for now) and resolves sidebar styling issues 2020-11-16 10:21:15 +08:00
Paul Copplestone 09fbf4d344 chore: removes the world repo - out of date and requires maintainence. We can reimplement this later from git history 2020-11-16 09:11:36 +08:00
Bobbie Soedirgo 550be3a9cb chore(slack clone): update to latest supabase-js (#288)
Also minor fixes, mostly related to using filters after `select` and
some auth API changes.
2020-11-15 11:59:29 +08:00
Paul Copplestone 4691063f81 Merge branch 'master' of github.com:supabase/supabase 2020-11-14 11:03:34 +08:00
Paul Copplestone 76bcf4e48a chore: moves todo examples into consistently named format 2020-11-14 11:03:29 +08:00
Leonardo Pérez CastillaandLeonardo cbe343c4ed Showcase section added for web 🥳 (#262)
* Showcase section added for web 🥳

* Hide showcase if is empty

* improves for cards

Co-authored-by: Leonardo <leonardo@MacBook-Pro.local>
2020-11-14 10:56:21 +08:00
Paul Copplestone df1883b18b docs: adds filter updates to the spec 2020-11-14 10:30:51 +08:00
Bobbie Soedirgo 2f59fccd53 docs: fix docs for filter 2020-11-14 04:22:50 +08:00
2fd06b89c7 feature/example todo sveltejs (#221)
* csa - sveltejs template with tailwind via csa #215

* todo template step 1 #215

* use https://github.com/sveltejs/svelte-todomvc/
#215

* change styles to tailwind #215

* move items to todos import #215

* add supabase dep #215

* env example #215

* doc: installation steps #215

* change to use SNOWPACK env variables #215

* add env plugin to snowpack #215

* wip: add item query to svelte todo example

* wip: add crud to task list svelte todo

* feat: add env to snowpack plugins #215

* make sparse-checkout command for example repo #215

* add to License #215

* wip: pre split into components todo svelte #215

* wip: split to components todo svelte #215

* wip: cleanup names #215

* feat: add vercel deploy button #215

* wip: deleteTask fn #215, remove debug out

* wip: add todo list if none #215

* correct Readme

* feat: add svelte login #215

* format login svelte with tailwind #215

* Logged In screen #215

* feat add logged in login pages with user #215

* feat add logged in from Homepage #215

* fix jest default config for svelte #215

* fix typo

* format code

* add user list

* fix typo #215

* add test for DB setup, user,lists,tasks #215

* formatting, remove ts-jest #215

* doc: add login and signup, make commands #215

* fix field names match new scheme simple todo #215

* feat add user to todo svelte changes for #215

* feat: add items per todo list #215

* feat: allow add new list

* wip: subscription on more than one table ?

* correct path #215

* feat: mark complete

* catch error for await #215

* delete local task #215

* bind items to child #215

* feat: add logout button #215

* move delete handler to parent component #215

* feat: add cypress to tests wip

* test: add App test for #215

* test: add check for es6 for process.env import #215

* feat: svelte todolist format

* format: svelte code #215

* css: tailwind purge unused css #215

* add plugin rollup snowpack, cypress testing #215

* feat: add skypack resolver for snowpack

* test: add rollup config to get cypress and snowpack working #215

* format: svelte code #215

* update gitignore #215

* cmd: add degit command to start template

* change to new snowpack compilerOptions #215

* add future feature to tailwind

* fix item description

* fixing typo

fixing typo

* Fixes link to release notes

* docs: Updates the subscription example

* blog: Adds our October blog post

* change to login supabase 1.0.2

* remove List #215

* debugging for #245 delete task - no returned value

* no default export from supabase-js

* debug realtime changes #215

* update supabase llibrary to 1.0.2

* -default export

* blog: updates OG tag for the latest blog post

* change to signIn signUp

* doc signup -> signUp

* fix example code to new signOut signUp

* fix signOut

* fix data access token

* fix package json to latest version of supabase-js

* catch error, change body to data

* feat(examples): Add nextjs-with-supabase-auth example.

* Update auth-signout.mdx

Add the correct function call for `signOut`

* Adds a magic link example to the docs

* Add an update example for gotrue

Fixes: https://github.com/supabase/gotrue-js/issues/22

* docs: code cleanup and spelling

* csa - sveltejs template with tailwind via csa #215

* todo template step 1 #215

* use https://github.com/sveltejs/svelte-todomvc/
#215

* change styles to tailwind #215

* move items to todos import #215

* add supabase dep #215

* env example #215

* doc: installation steps #215

* change to use SNOWPACK env variables #215

* add env plugin to snowpack #215

* wip: add item query to svelte todo example

* wip: add crud to task list svelte todo

* feat: add env to snowpack plugins #215

* make sparse-checkout command for example repo #215

* add to License #215

* wip: pre split into components todo svelte #215

* wip: split to components todo svelte #215

* wip: cleanup names #215

* feat: add vercel deploy button #215

* wip: deleteTask fn #215, remove debug out

* wip: add todo list if none #215

* correct Readme

* feat: add svelte login #215

* format login svelte with tailwind #215

* Logged In screen #215

* feat add logged in login pages with user #215

* feat add logged in from Homepage #215

* fix jest default config for svelte #215

* fix typo

* format code

* add user list

* fix typo #215

* add test for DB setup, user,lists,tasks #215

* formatting, remove ts-jest #215

* doc: add login and signup, make commands #215

* fix field names match new scheme simple todo #215

* feat add user to todo svelte changes for #215

* feat: add items per todo list #215

* feat: allow add new list

* wip: subscription on more than one table ?

* correct path #215

* feat: mark complete

* catch error for await #215

* delete local task #215

* bind items to child #215

* feat: add logout button #215

* move delete handler to parent component #215

* feat: add cypress to tests wip

* test: add App test for #215

* test: add check for es6 for process.env import #215

* feat: svelte todolist format

* format: svelte code #215

* css: tailwind purge unused css #215

* add plugin rollup snowpack, cypress testing #215

* feat: add skypack resolver for snowpack

* test: add rollup config to get cypress and snowpack working #215

* format: svelte code #215

* update gitignore #215

* cmd: add degit command to start template

* change to new snowpack compilerOptions #215

* add future feature to tailwind

* fix item description

* change to login supabase 1.0.2

* remove List #215

* debugging for #245 delete task - no returned value

* no default export from supabase-js

* debug realtime changes #215

* update supabase llibrary to 1.0.2

* -default export

* tasks match {} #215

* list refresh after adding task #215

* signOut change #215

* style login form #215

* style logout button #215

* add supabase logo #215

* remove extra import #215

* style list add new #215

* remove subscribe debug #215

Co-authored-by: swyx <shawnthe1@gmail.com>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Paul Copplestone <pcopplestone@gmail.com>
Co-authored-by: Thorsten Schaeff <thorsten.schaeff@gmail.com>
Co-authored-by: Mitchell Wright <mitchellbwright@gmail.com>
Co-authored-by: Ant Wilson <awalias@users.noreply.github.com>
2020-11-13 18:38:58 +08:00
mildtomato c5edaffe45 updated supabase-ui name in package 2020-11-13 12:41:24 +08:00
Paul Copplestone 290c6b6a8d docs: code cleanup and spelling 2020-11-11 17:10:54 +08:00
Paul Copplestone 2e0b26a1c6 Add an update example for gotrue
Fixes: https://github.com/supabase/gotrue-js/issues/22
2020-11-11 16:46:50 +08:00
Paul Copplestone f5276c663f Adds a magic link example to the docs 2020-11-11 10:22:59 +08:00
Ant Wilson cb9375061f Merge pull request #277 from duncanhealy/chore/fix-signIn
fix signIn signOut signUp in examples
2020-11-09 14:06:27 +08:00
Ant Wilson f785a7b016 Merge pull request #283 from mitchellwright/patch-1
Update auth-signout.mdx
2020-11-09 10:15:47 +08:00
Mitchell Wright b454d1fb22 Update auth-signout.mdx
Add the correct function call for `signOut`
2020-11-08 11:50:17 -06:00
Copple b15675053f Merge pull request #279 from supabase/examples/nextjs-with-supabase-auth
feat(examples): Add nextjs-with-supabase-auth example.
2020-11-06 15:54:12 +08:00
Thorsten Schaeff f0c5f879c4 feat(examples): Add nextjs-with-supabase-auth example. 2020-11-06 12:16:11 +08:00
Duncan Healy c870fdd252 catch error, change body to data 2020-11-05 16:02:04 +00:00
Paul Copplestone 635da1dc0b Adds an expo example 2020-11-05 20:57:40 +08:00
Duncan Healy 0148176bad fix package json to latest version of supabase-js 2020-11-05 11:03:50 +00:00
Duncan Healy d8814c6919 fix data access token 2020-11-05 11:03:09 +00:00
Paul Copplestone 8d8c1434b6 Init expo app 2020-11-05 15:44:13 +08:00
Duncan Healy 1767ec6e6e fix signOut 2020-11-04 12:28:17 +00:00
Duncan Healy 950eeb6517 fix example code to new signOut signUp 2020-11-04 12:27:55 +00:00
Duncan Healy 9e65485108 doc signup -> signUp 2020-11-04 12:22:32 +00:00
Duncan Healy f2fe1b0a9c change to signIn signUp 2020-11-04 12:21:39 +00:00
Paul Copplestone 89775e3197 blog: updates OG tag for the latest blog post 2020-11-03 22:55:15 +08:00
Paul Copplestone c5373c68fa blog: Adds our October blog post v0.0.10 2020-11-03 11:48:05 +08:00
Paul Copplestone 12c80d5c5c docs: Updates the subscription example 2020-11-03 09:43:04 +08:00
Paul Copplestone 18058e859e Merge branch 'master' of github.com:supabase/supabase 2020-11-03 08:19:32 +08:00
Paul Copplestone eb3674d1bd Fixes link to release notes 2020-11-03 08:18:30 +08:00
Copple 939e8369f4 Merge pull request #273 from sw-yx/patch-1
fixing typo in supabase.js 1.0 blogpost
2020-11-02 22:57:42 +08:00
swyx 70ee2be6e6 fixing typo
fixing typo
2020-11-02 21:23:12 +08:00
Paul Copplestone ed96d34a9f blog: adds an OG image for supabase.js 1.0 2020-11-02 14:08:48 +08:00
Paul Copplestone 1704291d30 blog: Adds a link to the release notes 2020-11-02 13:20:58 +08:00
Paul Copplestone c691d3d4b1 Updates the title of the blog post to 1.0 - this is becasue we are now on 1.0.1 2020-11-02 13:13:14 +08:00
Paul Copplestone de279c0619 Updates signUp and signIn methods 2020-11-02 13:10:06 +08:00
Copple 1a30495b0d Merge pull request #272 from supabase/thor/update-todo-nextjs-example
fix: Update Todo NextJS example.
2020-11-02 13:06:01 +08:00
Thorsten Schaeff a624d90f0f fix: Update Todo NextJS example. 2020-11-02 13:01:11 +08:00
Paul Copplestone 4afdb83833 Tests the new library in the Todo example - working well 2020-11-02 12:29:00 +08:00
Paul Copplestone 5c19ec0bab Fixes link in blog post from localhost 2020-11-02 11:48:36 +08:00
Paul Copplestone a74392d3c6 Removes enterprise sponsors 2020-11-02 11:38:53 +08:00
Paul Copplestone c8aa727985 chore: corrects the supabase-js installation instructions 2020-11-02 11:34:39 +08:00
Copple a788003648 Documentation for the new DX (#253)
## What kind of change does this PR introduce?

Updates the docs with the new developer experience: https://deploy-preview-253--supabase.netlify.app/docs

- Documents the new Auth using `gotrue-js`
- Fixes #179 
- Fixes OAuth links https://github.com/supabase/supabase/issues/241#issuecomment-705632335 
- [x] Add docs on Policies

## Additional context

Related PR on `supabase-js` https://github.com/supabase/supabase-js/pull/50

* Updates the docs for the new Auth DX.

* docs: adds docs for subscribing to rows

* Updates all the reads

* Updates all the docs with the new format

* docs: Replaces all { error, data} with data first, because I subjectively think it looks better

* Adds some of the breaking changes to a blog post

* Adds headings

* removes the blog post since it is now in notion

* Adds the Oauth changes

* removes recharts because we no longer use it

* Adds basic structure for GoTrue ref

* Adds styles for the api reference docs

* Adds more generated docs

* Downloads the files to work locally

* Adds a supabase generator

* Moves some of the guides into the "tools" folder

* Re-shuffles some of the pages around

* Generated everythign related to the Supabase Client

* Refactors and categorieses the pages

* Changes the names to be more readable

* Migrates almost all of the filters into the API reference

* Moves most of the stored procedure filters

* Adds realtime-js to the mix

* More desciptive titles

* Moves all the generated docs to the docs folder

* Moves over some of the data manipulators

* Extracts most of the client functionality to the API ref

* Adds more detail to the guides

* Removes the reference to the emulator

* Adds the supabase 1.0 blog post

* Adds a redirects for netlify

* chore: Updates packages

* Updates broken links

* Adding docs for the server

* Adds comments to gotrue and pgapi

* Adds a twitter icon to our navbar

* Updates the auth with the new user and session return values

* Updates the sponsors

* Styles for cards

* Adds a default value to all of the Tabs
2020-11-02 11:08:02 +08:00