Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
/ lynx Public archive

Online bank application for scammers. Built with Ruby on Rails.

Notifications You must be signed in to change notification settings

RoundofThree/lynx

Repository files navigation

SEG small group project

Steps to access the admin panel:

  1. Log in using the Administrative user credentials (email/password), doing step 2 without this would result in a 404 page.
  2. Go to the admin link stated above. Alternatively, click on the "Admin Area" button at the top-right corner of the navigation bar (this button is only visible when you are logged in as an admin).
  3. Enter the correct admin passphrase (admin area passphrase), and you are ready to go!

User Credentials

Code reuse and references
  1. Bootstrap CSS (via CDN)

  2. FontAwesome icons

  3. Google Fonts

    • Lato, sans-serif
    • Abhaya Libre, serif
    • Merriweather, serif
    • Assistant, sans-serif
    • Open Sans, sans-serif
  4. Gems

    1. Devise: for authentication of users
    2. Rubocop: for code standard checking
    3. Rufo and htmlbeatifier: code styling/formatter
    4. Kramdown: render markdown
    5. Simplecov: code coverage report generator
    6. Rails-controller-testing: use for testing controller tests
    7. Minitest-reporters: rails testing support
    8. Caxlsx: generate XLS documents
    9. Chartjs: display charts
  5. https://v4.bootcss.com/docs/examples/dashboard/ in app/views/dashboard/_navbar.html.erb. Number of lines of reused code: 64


How to setup development env

git clone <repo-url>

cd lynx

bundle install  # install gems

rake db:create # create DB

rake db:migrate # migrations

rake db:seed # IMPORTANT!

rails s  # start the server at localhost:3000

How to run the test suite

Generate code coverage report:

rm -rf coverage/ && DISABLE_SPRING=1 COVERAGE=1 rails test

Run without generating coverage report:

rails test

How to contribute

  • Use a branch apart (with a meaningful name)
  • Pull requests to the main branch should be reviewed by at least 1 member
  • Raise issues actively
  • Use test driven development (we will not merge requests without unit tests)

About

Online bank application for scammers. Built with Ruby on Rails.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •