Short version:
Its possible to completely disable the persistence layer on Volt?
I tried to disable "gem 'volt-mongo', '~> 0.1.0'" from Gemfile, but i got the following error at the server launch:
"RuntimeError: mongo is not a supported database, you might be missing a volt-mongo gem"
TL;DR
I have a pre-stabilished web-app built in Ruby on Rails, and i studying its migration to Volt.
This application is a Monolith Frontend application, accessing my Backend through REST API.
There is no Database connection. Its only API based.
And i wanted to test an arquitecture migration to Volt and see if i could keep things running using only HttpControllers (i know, its bad, but its a temporary solution until we start refactoring the whole thing)
But for that, Volt is very annoying, because it seems to require a Mongod instance up and running in order to run "bundle exec volt server".
And heres my question: Its possible to completely disable the persistence layer on Volt?
I tried to disable "gem 'volt-mongo', '~> 0.1.0'" from Gemfile, but i got the following error at the server launch:
"RuntimeError: mongo is not a supported database, you might be missing a volt-mongo gem"
Short version: Its possible to completely disable the persistence layer on Volt? I tried to disable "gem 'volt-mongo', '~> 0.1.0'" from Gemfile, but i got the following error at the server launch: "RuntimeError: mongo is not a supported database, you might be missing a volt-mongo gem"
TL;DR I have a pre-stabilished web-app built in Ruby on Rails, and i studying its migration to Volt. This application is a Monolith Frontend application, accessing my Backend through REST API.
There is no Database connection. Its only API based. And i wanted to test an arquitecture migration to Volt and see if i could keep things running using only HttpControllers (i know, its bad, but its a temporary solution until we start refactoring the whole thing)
But for that, Volt is very annoying, because it seems to require a Mongod instance up and running in order to run "bundle exec volt server".
And heres my question: Its possible to completely disable the persistence layer on Volt? I tried to disable "gem 'volt-mongo', '~> 0.1.0'" from Gemfile, but i got the following error at the server launch: "RuntimeError: mongo is not a supported database, you might be missing a volt-mongo gem"