GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dengzhichao/arithmetic-api: Rails API back end for arithmetic question management app

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
bin
bin
 
 
config
config
 
 
db
db
 
 
lib
lib
 
 
log
log
 
 
public
public
 
 
test
test
 
 
vendor/assets
vendor/assets
 
 
.gitignore
.gitignore
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
README.md
README.md
 
 
Rakefile
Rakefile
 
 
config.ru
config.ru
 
 
distractors_table.csv
distractors_table.csv
 
 
questions_table.csv
questions_table.csv
 
 

Repository files navigation

Arithmetic Question Management API

For full app site: http://maxkrieg.github.io/arithmetic-app
For front end code: https://github.com/maxkrieg/arithmetic-app

Back end for Arithmetic Question Management app. Allows user to view, create, and edit basic arithmetic multiple-choice questions. Imports large dataset from two CSV files containing multiple questions for basic arithmetic. Creates routes allowing User to perform basic CRUD actions on the questions and distractors tables.

Build

This was built with a Rails API and PostgresQL database, and is consumed by an AngularJS front end.

User Stories

1. User can view a list of questions
2. User can sort all questions by operand and answer
3. User can filter for questions with a specific operator
4. User can paginate through the question list
5. User can view a specific question
6. User can edit a specific question's operands and operator
7. User can add a distractor to a specific question
8. User can add remove a distractor from a specific question
9. User can change a distractor on a specific question
10. User can create a new question with distractors

Data Structure

Two Tables: Questions table and Distractors table
  1. Questions Table Columns: id (PK), first_operand, operator, second_operand, operator.
  2. Distractors Table Columns: id (PK), question_id (FK), distractor.

About

Rails API back end for arithmetic question management app

maxkrieg.github.io/arithmetic-app

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.