My solution to the challenge described here. Check other problems and challenges here. Special thanks to the backend-br.
The password are stored in a configuration file called config/crypto_password.yml
. For this application I used the "SecureRandom.base64 256" to generate a password, but you can use anything.
Then proceed to the project setup:
$ bundle install
.$ bundle exec rails db:migrate
Execute bundle exec rails s
, and the application will listen on localhost at the port 3000
.
It is a simple crud for crypto_datum
, so all the crud operations can be done on localhost, port 3000
.
This project can also be ran with the console, by calling the activerecord directly with bundle exec rails c
.