This is a GraphQL API for twitter clone. It is built with Ruby on Rails and GraphQL (Free). It is created by Sulman Baig.
You can submit any issue with code at GitHub Issues.
- Ruby 3.2.0
- Rails 7.0.4.2
- Clone the repo
- Run
bundle install - Run
rails db:create db:migrate db:seed - Remove
config/credentials.yml.encandconfig/master.keyand runrails credentials:editto create new credentials - Run
rails s - Visit
localhost:3000
- Run
rspec
- Run
rubocop
- Run
rails s - Visit
localhost:3000/graphiql
Make a POST request to localhost:3000/graphql
rails graphql:schema:dumpdumps both aschema.graphqland aschema.jsonrails graphql:schema:jsondumps only aschema.jsonrails graphql:schema:idldumps only aschema.graphql
Feel free to contact me at sulman@hey.com
