Trivia 400 is an application for user to take trivia quizzes and further their knowledge. A user can submit answer and see the right answer if they got it wrong. At the end of the quiz they will have a chance to add their name to leaderboard in order to keep track their score.
(Disclaimer: Need to have Homebrew, Ruby, Rails, and PostgreSQL installed)
- Clone repo
- Bundle Install
- run rails seed file
- run rails server
Before running server in config/initializers/cors.rb comment out
and comment in
lastly in terminal run
origins 'http://localhost:3001', "https://trivia-400.netlify.app/"
- run front end repo