Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.79 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.79 KB

Unsplash black shoulder-mount

OscarApp API

“A fictional oscar voting”!

Develop to "DS151 - Desenvolvimento para Aplicativos Móveis", UFPR

TDD api requests with RSpec

GitHub repo size GitHub contributors

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the 3.0.0 version of Ruby

Installing Project

To install dependencies, run:

gem install bundler
bundle install

Using Project

To use, follow these steps:

rails s

Or run tests:

rspec

Aplication Routes

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!

Contributing

To contribute to "oscarApp_api", follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and commit them: git commit -m '<commit_message>'
  4. Push to the original branch: git push origin <project_name>/<location>
  5. Create the pull request.

Alternatively see the GitHub documentation on creating a pull request.