This project contains solution about building a payroll API solution with GraphQL and Ruby on Rails
This is a small project that demonstrates how to make a graphql queries using graphiql client api to get information from a graphql enpoint.
- Ruby on rails
- GraphQL
- RSpec
render my profile and job opportunities associated with my profile
This project has not been deployed to production, heroku requires payment which I don't want to do now, hence can be used by setting it up locally.
Clone the repository to your local machine
$ https://github.com/Forison/flexhire-test.git
cd into the directory
$ bundle install
$ rails db:migrate
$ rails db:seed
$ rails s
Run test by running the command Note not all test were covered due to time
$ rspec [spec path name here...]
Access graphiql from the endpoint
$ http://localhost:5000/graphiql
- Fork it (https://github.com/Forison/calculator/)
- Create your feature branch (git checkout -b feature/[choose-a-name])
- Commit your changes (git commit -am 'What this commit will fix/add')
- Push to the branch (git push origin feature/[chosen name])
- Create a new Pull Request