danielefrisanco / qrcodelink

small Rails app to give a link to scan an nfc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

This application has the only purpose to help the reading process for a NFC to o so it provides a qr code link to a scan page that can be opened on an Android device. After scanning the NDEF message is saved in the database

Ruby version

It uses ruby 3.0.1 and rails 6.1.4

System dependencies

Configuration

Database

rails db:create db:migrate db:seed

How to run the test suite

  • rails test
  • yarn jest

Deployment instructions

rails s

Go to http://localhost:3000/

Documentation

rake yard

TODO:

  • complete jest tests for react pages(new to jest and I find it quite cumbersome)

  • divide front end app from back end to prepare for docker(make sure the test are completed)

  • docker and docker-compose

  • add create QrCodeLink (low priority)

  • show scanned NFCs (low priority)

  • use rspec for the tests

  • better css style

About

small Rails app to give a link to scan an nfc


Languages

Language:Ruby 59.0%Language:JavaScript 30.3%Language:HTML 9.5%Language:CSS 0.9%Language:SCSS 0.3%