Is it the right approach to make another routes in addition to the specified routes with json interface, which are
-POST /signup
-POST /login
-POST /clearData
, in the same server?
I mean that I would have to add
-GET /(index) to get main screen
-GET /welcome to get welcome screen .
And, if I chose Rails to do assignment, is it okay to use '.html.erb' format?
Or Do I have to write another html document without rails dependency?
Is it the right approach to make another routes in addition to the specified routes with json interface, which are -POST /signup -POST /login -POST /clearData , in the same server? I mean that I would have to add -GET /(index) to get main screen -GET /welcome to get welcome screen .
And, if I chose Rails to do assignment, is it okay to use '.html.erb' format? Or Do I have to write another html document without rails dependency?