Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renatorosafranco/cob_api
🚀 RAILS | API | challenge for 'estante virtual'
https://github.com/renatorosafranco/cob_api
api challenge code-challenge rspec rspec-rails ruby rubyonrails serializers slate
Last synced: 6 days ago
JSON representation
🚀 RAILS | API | challenge for 'estante virtual'
- Host: GitHub
- URL: https://github.com/renatorosafranco/cob_api
- Owner: RenatoRosaFranco
- Created: 2023-08-07T12:09:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-07T12:28:24.000Z (over 1 year ago)
- Last Synced: 2025-01-20T20:31:41.851Z (21 days ago)
- Topics: api, challenge, code-challenge, rspec, rspec-rails, ruby, rubyonrails, serializers, slate
- Homepage:
- Size: 191 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
### Ruby version
```bash
3.0.2
```### Install RBENV
```bash
sudo apt install rbenv
```### Install Ruby with RBENV
```bash
rbenv install 3.0.2
rbenv local 3.0.2
```### Rails version
```bash
7.0.6
```
### System dependencies
```bash
bundle install
```### Configuration
```bash
docker-compose build --no-cache
docker-compose up # scale dev environment
docker-compose down # remove dev environment
```### Database creation
```bash
rails db:create
```### Database initialization
```bash
rails db:migrate
```### How to run the test suite
```bash
bundle exec rspec -fd spec/
bundle exec rspec -fd spec/folder/
bundle exec rspec -fd spec/folder/file
bundle exec rspec spec/
```### Inspect Project code quality and better_practices
```bash
rails_best_practices .
rubycritic .
rubocop .
```