add typescript

This commit is contained in:
João Geonizeli
2022-07-21 16:36:33 -03:00
parent 3ce6c421b1
commit 9dd9e28bf7
16 changed files with 177 additions and 14 deletions

View File

@@ -1,6 +1,5 @@
development:
adapter: redis
url: redis://localhost:6379/1
adapter: async
test:
adapter: test

View File

@@ -1,5 +1,13 @@
Rails.application.routes.draw do
devise_for :users, controllers: { omniauth_callbacks: 'users/omniauth_callbacks' }
root to: "entrypoint#index"
get "*all" => "entrypoint#index", constraints: lambda { |req|
["playground", "rails", "graphql"].filter do |path|
req.path.include?(path)
end.blank?
}
post "/graphql", to: "graphql#execute"
ActiveAdmin.routes(self)