Exam System
Things you may want to cover:
-
Ruby version: 3.0.0
-
Below step to run application
bundle installrails db:create db:migrate db:seedrails s
-
Listed api url
- POST 'http://localhost:3000/v1/answers'
- body parameters
params: { question_id: 1, question_option_id: 3, skip: false } - GET 'http://localhost:3000/v1/questions'
- GET 'http://localhost:3000/v1/user/percentage'
- POST 'http://localhost:3000/v1/answers'
-
How to run rspec
bundle exec rspecorrspec