Domain Modeling :: Trivia Games
Welcome to my simplistic version of Online Trivia Games.
The Minimum Viable Product (MVP) of Know It All is to provide the User with few trivia Categories to select from.
Models
User, Category
user
has_many
:categories
category
belongs_to
:user
Controller
ApplicationController
UsersController
CategoriesController
QuestionsController
Free to use, user-contributed trivia question database.
Back-End
$ git clone 👾
$ bundle install
$ rails db:create && rails db:migrate
$ rails db:seed
$ rails s
Open Chrome browser, and redirect to 'http://localhost:3000' to start the Rails API.
Front-End
Open Chrome browser, and redirect to 'http://127.0.0.1:5500/index.html' to start the app.
Alternatively, it is fully deployed on Netlify!
Current project-built was completed in a 2-week timeframe from API data search, model association development, and MVP for the user interface. Future cycle of product development as follows:
- Add
Sub Category
to model associations. - Outsource additional APIs for more
Sub Category
content. - Gather user inputs on their most favorite
Category
for future app improvement. - Utilizing
setInterval
for 20 seconds on each Trivia question. - User authentication.
- Create toggle track for
dark mode
😎
Future Project Build ERD
- Active Record
- Rack CORS
- PostgreSQL
- Fast JSON API
- REST Client
- Open-URI
- Nokogiri
- Bootstrap v5.0