Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/renanrudney/oscarapp_api
- Owner: renanrudney
- Created: 2022-03-29T21:45:41.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-01T06:55:30.000Z (over 2 years ago)
- Last Synced: 2025-01-11T06:25:24.549Z (9 days ago)
- Topics: oscar, oscar-awards, oscar-voting, rails, rails-api, rails7, rspec-rails, ruby, tdd, tdd-rails, tdd-ruby, ufpr
- Language: Ruby
- Homepage:
- Size: 50.8 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
OscarApp API“A fictional oscar voting”!
Develop to "DS151 - Desenvolvimento para Aplicativos Móveis", UFPR
TDD api requests with RSpec
## 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).