Skip to content

whoislou/grex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grex

API

QueriesMutations
query {
  allTracks {
    name
    artist
    album
    year
  }
}
mutation {
  addTrack(
    name: "Clair De Lune",
    artist: "Claude Debussy",
    album: "Impressionist Mixtape Vol. 1",
    year: 3023
  ) {
    name,
    artist,
    album,
    year,
  }
}

todos

  • refactor into separate files

  • attach postgres db

  • move to an ORM instead of raw SQL

  • error handling (db connection)

  • monadic null checks

  • some logging would be nice

  • CA Certificate for TLS connection to DB

  • github actions

  • check with CSRF on exposing the graphiql environment

  • dockerize

  • move gql typedefs to .gql files

  • add deno project settings incl. fmt and lint

About

GraphQL API server in Deno

Resources

Stars

Watchers

Forks

Packages

No packages published