Skip to content

heridev/graphql_sms_api

Repository files navigation

graphql_sms_api

One of the backend API versions for smsforall.org, this one will be using GraphQL instead of the traditional RESTful approach

How to run the RoR server?

  1. Set ruby to 3.2.2
  2. Install dependencies
bundle install
  1. Create the Postgresql Database
bundle exec rake db:setup
  1. Create some random data
bundle exec rake db:seed
  1. Run the server
rails server
  1. Open the page
http://localhost:3000
  1. Begin running GraphQL queries using something like POSTMAN!!
Method: POST
URL: http://localhost:3000/graphql
Body: select GraphQL and put there your question like
query {
    sms_notifications {
        id
    }
}

How to play with the GraphQL endpoint using POSTMAN

https://github.com/heridev/graphql_sms_api/wiki/Playing-with-the-GraphQL-using-POSTMAN

About

One of the backend API versions for smsforall.org, this one will be using GraphQL instead of the traditional RESTful approach

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published