Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

An example GraphQL Yoga project to get you started with plugin-better-auth.

License

Notifications You must be signed in to change notification settings

Nexirift/plugin-better-auth-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugin-better-auth-example

An example GraphQL Yoga project to get you started with plugin-better-auth.

Installation

Instructions

  1. Clone the project by using Git: git clone https://github.com/Nexirift/plugin-better-auth-example
  2. Install packages using bun: bun install
  3. Copy .env.example to .env
  4. Apply migrations using: bun migrate
  5. Start the server using: bun dev
  6. Visit http://localhost:3008/user
  7. Copy the value in token for later use
  8. Send a test request below

Sending a request

curl --request POST \
--url http://localhost:3008/graphql \
--header 'Authorization: Bearer TOKEN_HERE' \
--header 'Content-Type: application/json' \
--data '{"query":"query hello {\n\thello\n}","operationName":"hello"}'

Replace TOKEN_HERE with the actual token

About

An example GraphQL Yoga project to get you started with plugin-better-auth.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%