Code Monkey home page Code Monkey logo

sdp-project's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

cjordan7

sdp-project's Issues

Create an interface between the frontend and the backend

It should support basic Request -> Response behaviour.
This interface is very important to allow the frontend and the backend to be uniformly handled.
There should also be a Request and Response class, that represent the ingoing and outgoing communications to the backend.

Create a User class

This class is used to store basic information about users, such as their username, their role, their category.

Create a QuizOverviewFragment

The QuizOverviewFragment contains all the questions of the quiz and is displayed at the left of the QuestionFragment in the QuizActivity. It contains the number and the title of each question. When we click on a question, it displays it in the QuestionFragment.
Notions to study: fragment, bundle

Configure the repo, the CI, debug problems

This issue is just here to count the hours that I spent this sprint.

First, I created the repo, the CI, CodeClimate, and all the toolchain.
I also added Spotless to our CI scripts, so that badly formatted code is not accepted.
I then fixed some issues with the Jacoco test reports not being generated correctly, and with
line endings in Windows, for my colleagues.
I also added caching to Travis to try and speed up the builds.

Create a simple quiz activity

This issue is for now independent of the rest of the app.
We should start creating a Quiz class, and Question class to model quizzes and questions that are part of quizzes.
We should also start creating a simple activity that allows to view (not yet answer) a quiz.

Implement the backend interface using Firebase

First, we should explore how firebase roughly works, and how we could integrate it in the app.
The first version of the backend should support simple challenge and response protocol for the login.
It means that #3 and #5 should already be done for this issue to be done.

Editor Mode: Create an edition overview fragment

This is one of the subtasks towards supporting quiz edition. Its goal is to create an overview of the quiz questions that allows to reorder, add, remove or edit questions. When editing or adding a question, this fragment should delegate to another fragment responsible for editing a single question.

Global architecture discussion

Friday evening meeting was made longer, because we absolutely needed to plan the global architecture of the app. We splitted the user stories into developer tasks and agreed on the global java architecture that we would use.

Finish email/password login

We grouped many issues because we did them all in this PR.

  • Finish email/password login, solve bugs, test
  • Automatic log in if user is already logged in.
  • Improve user database structure (users have a list of their quizzes, etc.), create user in database when sign up

actual 16h: Anthony's work. This PR was longer to finish than I imagined!

actual 8h: Nathan's work. I did not plane at first to work on this pr, that is why i did not make an estimation of work time.

Sanitize token inputs

I sanitized the token inputted by the user. Now, only a 20 characters alphanumeric string is accepted.
I also added more test questions in the mock database, and the QuizOverview now displays the titles of the questions.

Editor Mode: Create a question edition fragment

This task is one of the subtasks towards supporting quiz edition. It should handle the edition of a single question. This includes editing the title and the question itself, and the answer format as well.

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.