Skip to content

getcronit/pylon-drizzle-jwt-auth

Repository files navigation

  1. Setup your database
  2. Start the server bun dev
  3. Open your browser and go to http://localhost:3000/graphql
  4. Start querying your data
query Users {
  users {
    id
    name
    roles
  }
}

mutation CreateUser {
  userCreate(
    data: {
      name: "Nico"
      email: "[email protected]"
      password: "password"
      roles: [admin]
    }
  ) {
    id
    name
    password
    createdAt
    updatedAt
  }
}

mutation login {
  userLogin(email: "[email protected]", password: "password") {
    token
    user {
      id
    }
  }
}

query me {
  me {
    id
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages