Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/renanrudney/oscarapp_api

Fictional oscar voting rails 7 API
https://github.com/renanrudney/oscarapp_api

oscar oscar-awards oscar-voting rails rails-api rails7 rspec-rails ruby tdd tdd-rails tdd-ruby ufpr

Last synced: about 12 hours ago
JSON representation

Fictional oscar voting rails 7 API

Awesome Lists containing this project

README

        


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](./examples.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 `.
3. Make your changes and commit them: `git commit -m ''`
4. Push to the original branch: `git push origin /`
5. Create the pull request.

Alternatively see the GitHub documentation on [creating a pull request](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request).