renanrudney / oscarApp_api

Fictional oscar voting rails 7 API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Fictional oscar voting rails 7 API


Languages

Language:Ruby 99.3%Language:HTML 0.7%