Code Monkey home page Code Monkey logo

quiz-master's People

Contributors

ninariccimarie avatar rbmrclo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

quiz-master's Issues

Support I18n for PH

Background

We will now start expanding our team in the Philippines ๐Ÿ‡ต๐Ÿ‡ญ ! First step that we need to do is to support the language of the country. One example is this part of our code:

When the student got a correct answer for the question, we are displaying a success message in English language.

  • "Yay! You're correct!"

Request

  • If the current user is from the Philippines, instead of displaying the language in English, we want to display it in Filipino language instead.

TODO

  • Setup I18n for the backend app
  • Update en.yml and introduce en-PH.yml
  • Remove all hardcoded strings inside our codebase and display the messages by using I18n.t

API Restructure

Background

We will start using the backend code as our API service. One of the things that we need to polish is to make it more RESTful and adheres to the convention of naming API routes.

Before

$ rake routes

GET    /questions
POST   /questions
GET    /questions/:id
GET    /questions/new
GET    /questions/:id/edit
PUT    /questions/:id
PATCH  /questions/:id
DELETE /questions/:id
POST   /questions/:id

After

GET    /api/questions
POST   /api/questions          
GET    /api/questions/:id
PUT    /api/questions/:id
PATCH  /api/questions/:id
DELETE /api/questions/:id
POST   /api/questions/:id/answers

TODOs

  • Move questions endpoints under API namespace
  • Please add versioning for the API endpoints
  • Please add token authentication for all API requests
  • Remove unnecessary routes
  • Follow 2 spaces convention

Admin Dashboard

Background

The strategy and planning team needs to create a report on how to track the KPI for Weekly Active Learners. WAL is measured by how many questions are being answered every week by an individual student.

Feature

By using rails_admin, create an admin dashboard page where we could see the count of questions and answers in our database.

TODO

  • Show the Answer and Question count in the home page of the admin dashboard
  • Admin should be able to create, update, and delete a question
  • Upon visiting the admin page, an HTTP basic authentication should prompt to the user before proceeding. Failure to submit a valid credentials must result to prevention of access to our admin dashboard.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.