Skip to content

FedericoDallo17/fubol

Repository files navigation

README

This is a boilerplate project to be used for Rails API applications.

Table of Contents

Main Characteristics

  • Language: Ruby 3.0.0
  • Framework: Rails 7.0.4
  • Webserver: Puma
  • Test Framework: RSpec
  • Databases: Postgres & Redis
  • Async Processor: Sidekiq

Gems

Getting Started

  • Clone this repo
  • Install PostgreSQL if you don't have it
  • Install Rails gem (version on Gemfile)
  • Run bundle install to install all gems required by the project
  • Update the values of the .env.template file to match your app
  • Create your .env file. You have an example at .env.template. You should be able to copy it and set your values. It's a good practice to keep the .env.template updated every time you need a new environment variable.
  • Run rails db:create db:migrate db:seed to set up database
  • Check that tests are passing running bundle exec rspec spec
  • Install Foreman gem
  • Run foreman start -f Procfile.dev to start Rails, Sidekiq and Redis processes

Tests

You can run the unit tests with rspec or rspec followed by a specific test file or directory.

Code quality

With bundle exec rake linters:run you can run the code analysis tool, you can omit rules with:

  • Rubocop edit .rubocop.yml
  • Reek edit .reek.yml

About

balompie, soccer, football

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages