Simple application that can search to github for repositories.
Warning: This app searches with unauthenticated requests. It can perform 10 requests per minute and ans shows first 1000 search results.
Production: https://search-repo-production.herokuapp.com/
- Ruby version: 2.7.2
-
Setup the Postgres databases:
rails db:setup
-
Run the Rails app
rails s
This application have several type of tests
- Codebase tests (Checks for linting issues)
- Unit tests
- Request tests
- System tests (Uses headless chrome browser)
Use the command to run all the tests together
bundle exec rspec
- On every Pull request the CI will run the tests.
- User
Heroku
for deployment - Deploys to staging server on push to
development
branch - Deploys to production server on push to
main
branch
HEROKU_API_KEY
- Heroku api access keyHEROKU_PRODUCTION_APP
- Heroku production app nameHEROKU_STAGING_APP
- Heroku staging app name