Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GraphQL #386

Draft
wants to merge 30 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
53476ac
Add graphQL gem
Abdulwahaab710 Sep 4, 2020
5bf1f02
Add graphQL gem
Abdulwahaab710 Sep 4, 2020
7855c7f
Create Challenge type
Abdulwahaab710 Sep 4, 2020
13c96c0
Create Category type
Abdulwahaab710 Sep 4, 2020
5208756
Create User type
Abdulwahaab710 Sep 4, 2020
44a131b
Create CtfSetting type
Abdulwahaab710 Sep 4, 2020
a7d2e2f
Create Page type
Abdulwahaab710 Sep 4, 2020
35a8ccc
Create Session Type
Abdulwahaab710 Sep 4, 2020
4ffb2ac
Create Team Type
Abdulwahaab710 Sep 4, 2020
c86daf4
Create ActivateChallenge Mutation
Abdulwahaab710 Sep 7, 2020
c2e48cb
Create CreateCategory Mutation
Abdulwahaab710 Sep 7, 2020
a96fd25
Create CreateChallenge Mutation
Abdulwahaab710 Sep 7, 2020
db797d6
Create CreatePage Mutation
Abdulwahaab710 Sep 7, 2020
aac429e
Create DeactivateChallenge Mutation
Abdulwahaab710 Sep 7, 2020
282f8de
Create DestroyCategory Mutation
Abdulwahaab710 Sep 7, 2020
dfc612e
Create DestroyChallenge Mutation
Abdulwahaab710 Sep 7, 2020
e7a2357
Create DestroyPage Mutation
Abdulwahaab710 Sep 7, 2020
23e4f7b
Create UpdateCategory Mutation
Abdulwahaab710 Sep 7, 2020
7a4a1cd
Create UpdateChallenge Mutation
Abdulwahaab710 Sep 7, 2020
bc730d9
Create UpdatePage Mutation
Abdulwahaab710 Sep 7, 2020
d40f404
Create Graphql Mutation
Abdulwahaab710 Sep 7, 2020
3b7bb3f
Fixing CategoryType
Abdulwahaab710 Sep 7, 2020
0621a53
Add users to teams
Abdulwahaab710 Sep 7, 2020
75e2be8
Create GraphQL controller
Abdulwahaab710 Sep 7, 2020
c49f05d
Add activate and deactivate methods to Challege model
Abdulwahaab710 Sep 7, 2020
4cb3248
Add API graphql controller
Abdulwahaab710 Nov 14, 2020
c55df5b
Upgrade to rails 6
Abdulwahaab710 Jul 21, 2021
a884853
Return bad request if content type is not json
Abdulwahaab710 Jul 21, 2021
e190d33
Add webpacker gem
Abdulwahaab710 Jul 21, 2021
71d91e7
Webpacker and react
Abdulwahaab710 Oct 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,10 @@ bower.json
.DS_Store
coverage
storage

/public/packs
/public/packs-test
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity
7 changes: 6 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.7.2'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2.2'
gem 'rails', '~> 6.1.4'
# Use Puma as the app server
gem 'puma', '~> 4.3'
# Use SCSS for stylesheets
Expand Down Expand Up @@ -54,6 +54,7 @@ group :development, :test do
gem 'action-cable-testing'
gem 'byebug', platform: :mri
gem 'codecov', require: false, group: :test
gem 'dotenv-rails'
gem 'factory_bot_rails', '~> 5.0'
gem 'guard-rspec', require: false
gem 'rspec-rails'
Expand All @@ -76,3 +77,7 @@ group :production do
gem 'pg'
end
gem 'rouge', '~> 3.12'
gem 'graphql'

gem 'graphiql-rails', group: :development
gem 'webpacker'
Loading