VanHack Platform - Backend
DEMO: https://vanhack-backend.herokuapp.com/
Requirements
- Ruby 2.5.1
- Rails 5.2.0
- PostgreSQL 10.3
Setup
- Fork the respository and clone your fork
$ git clone https://github.com/<YOUR_USERNAME>/vanhack-backend
$ cd vanhack-backend
$ bundle install
- Setup your database
$ bin/rails db:create
$ bin/rails db:migrate
$ bin/rails db:seed
Run tests
$ bin/rspec
Use GraphiQL.app to test the API
Contributing
How To Contribute
- Fork the repository in GitHub
- Create your feature/fix branch (
git checkout -b special-feature
) - Make sure all tests pass (
bundle exec rspec
) - Commit your changes (
git commit -am 'feature: Summarize change'
) - Push to the branch (
git push origin special-feature
) - Create new pull request