“A fictional oscar voting”!
Develop to "DS151 - Desenvolvimento para Aplicativos Móveis", UFPR
TDD api requests with RSpec
Before you begin, ensure you have met the following requirements:
- You have installed the 3.0.0 version of Ruby
To install dependencies, run:
gem install bundler
bundle install
To use, follow these steps:
rails s
Or run tests:
rspec
If you want to test on insomnia, postman or similar: Import this json.
POST /auth
{login
,password
} : authenticate a user;POST /choices
{remote_director_id
,remote_movie_id
}, headers: {login
,token
} : oscar voting!
To contribute to "oscarApp_api", follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin <project_name>/<location>
- Create the pull request.
Alternatively see the GitHub documentation on creating a pull request.