Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

removed CLI docs and adds image

Ant Wilson545d4ae7badd
diff --git a/examples/auth-vanilla-js/README.md b/examples/auth-vanilla-js/README.md
index 4e03637a154..d62e56bebc6 100644
--- a/examples/auth-vanilla-js/README.md
+++ b/examples/auth-vanilla-js/README.md
@@ -1,27 +1,12 @@
# Vanilla-js Auth Example
-how to sign up and login using supabase and supabase-js
+how to sign up and login using supabase and supabase-js using HTML and Javascript only
### running
-`npm install`
-`npm run dev`
+`npm run dev` (requires npx to be installed)
if you want to make changes without restarting the server run this in a different terminal window:
`npm run watch`
-### testing auth endpoint from the command line
+![image](https://user-images.githubusercontent.com/458736/91564884-e45c8180-e973-11ea-949a-1bb930628b0e.png)
-you can also do the following to test the auth endpoints manually:
-```bash
-# manual signup from terminal
- curl --header "Content-Type: application/json" \
- --request POST \
- --data '{"email":"[email protected]","password":"password"}' \
- <your-supabase-url>/auth/v1/signup?apikey=<your-api-key>
-
-# manual login from terminal
- curl --header "Content-Type: application/json" \
- --request POST \
- --data '{"email":"[email protected]","password":"password"}' \
- "<your-supabase-url>/auth/v1/token?grant_type=password&apikey=<your-api-key>"
-```