re: Building and Consuming a JSON API with Rails and React VIEW POST


Hi, I have an error when I run the command "foreman start -f Procfile.dev"

The error message are written below:

D:/CVWO/project/config/routes.rb:5:in block (2 levels) in <top (required)>': undefined methodjsonapi_resources' for #ActionDispatch::Routing::Mapper:0x... (NoMethodError)

Can somebody help me resolve this isssues?
I try look up for solutions on the internet, but there weren't any. I am also green to react-rails.


Did you install the gem jsonapi_resources?

Code of Conduct Report abuse