Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Latest commit

 

History

History
86 lines (65 loc) · 1.88 KB

README.md

File metadata and controls

86 lines (65 loc) · 1.88 KB

nindika is shutting down on 15/01/2023

Thanks for all support. If you need help with nindika code, getting in touch in discussions.

nindika

Releases CI License

nindika is a web application focused on Brazilian market that helps users to discover their next Nintendo Switch game.

Development Guide

Development Dependencies

  • Ruby 3.1.2
  • Node.js 18.0.0
  • Yarn 1.x
  • Docker + Compose
  • libpq
    • brew:
        brew install libpq
      
    • apt:
        sudo apt-get upgrade
        sudo apt-get install libpq-dev
      

Setup

  1. Clone project
[email protected]:stephannv/nindika.git
  1. Go to nindika folder
cd nindika
  1. Setup project (Install Ruby and JS dependencies, recreate databases and etc.):
bin/setup
  1. Generate new credentials with Nintendo API info:
rm config/credentials.yml.enc
bin/rails credentials:edit

Then fill app id and app key (you can get this credentials inspecting Nintendo website):

nintendo_app_id: 'XXXXX'
nintendo_app_key: 'XXXXXX
  1. Import data
bundle exec rake admin:import_data
  1. Run project
bin/dev
  1. Visit http://localhost:3000

Run tests

$ bundle exec rspec

Run linters

$ bin/lint

Run vulnerability scanner

$ gem install brakeman
$ brakeman -A -z -q

License

nindika is licensed under the MIT license.

Copyright

Copyright 2022, nindika.