One of the backend API versions for smsforall.org, this one will be using GraphQL instead of the traditional RESTful approach
- Set ruby to 3.2.2
- Install dependencies
bundle install
- Create the Postgresql Database
bundle exec rake db:setup
- Create some random data
bundle exec rake db:seed
- Run the server
rails server
- Open the page
http://localhost:3000
- 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
}
}
https://github.com/heridev/graphql_sms_api/wiki/Playing-with-the-GraphQL-using-POSTMAN