Skip to content

dlp-m/graphql_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template graphql tymate

based on : https://www.notion.so/tymate/How-to-start-up-a-project-from-scratch-with-GraphQL-32411f8a34b94198a3a6e6083cb332f1

How to use it ?

  • first go in your stack path
  • run mkdir rails_templates; cd rails_templates
  • run git clone git@github.com:tymate/graphql_template.git
  • run cd ..
  • run chruby 3.1.2 or newest
  • install rails version for the project
  • run rails _7.0.4_2_ new mon_project_api --database=postgresql -m rails_templates/graphql_template/setup.rb

what does it do

  • setup basics gem
  • setup graphql
  • setup annotate
  • setup rubocop
  • setup doorkeerper
  • setup clearance
  • setup bo if needed
  • setup rspec with basic tests for current_user(graphql query) and refresh token(rest)
  • chore

TODO:

  • fix gems versions ?
  • chose implementation together and refacto with inject_into_file or gsub_file
  • clean css files ( import ect ...)
  • clean html files
  • (bo) better date filter (from today to today bug, maybe add a workarround with from.beginning_of_day to.end_of_day )
  • (bo) better style for pagination
  • (bo) Close dropdown when user click outside

About

A graphql rails template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5