200dtd-course-planner-project

Sprint 2 - A Minimum Viable Product (MVP)

Sprint Goals

Develop a bare-bones, working web application that provides the key functionality of the system, then test and refine it so that it can serve as the basis for the final phase of development in Sprint 3.


Implemented Database Schema

3 tables, classes, topics and steps, with many steps to a topic and many topics to a class.

SCREENSHOT OF DB SCHEMA


Initial Implementation

The key functionality of the web app was implemented:

Working website :D


Testing newClassForm page

For the minimun viable product i simply wanted to get the page working. At first there were some struggles with routing it correctly, as it is rather finicky with all the forward slashes you need, but after some trial and error I figured out how to do it. Then after the page was usable I attempted to add a new class, to which it did not add a new class, but put the classAdd route in the link, doing nothing. I then took a closer look at my code and figured out the problem. It was addClass in init.py and classAdd in newClassForm. After making them match… it works!

classAdd

addClass

Changes / Improvements

Replace this text with notes any improvements you made as a result of the testing.

PLACE SCREENSHOTS AND/OR ANIMATED GIFS OF THE IMPROVED SYSTEM HERE


Testing newTopicForm

It was simple enough to get the page and form working, however there was no way to indicate which class id corresponded to which class name, which was annoying. The same problem also arose with the newStepForm

New topic form with empty class_id

Changes / Improvements

Instead of using an input tag, I used a select tag with the value being the id of the class, and the option being the name of the class. This makes it a lot more intuitive to use

New topic form with select dropdown menu for the class_id showing names of the class

I also used the same method for the new Step form page


Testing current topic/step feature

Having a Topic/Step with current = 1 means that it will appear under the “current topic/step” section, and appear underneath its class on the homepage. I will be testing to see if the python can change a topic/step’s current between 1 and 0.

Usage of the Current feature for a Topic

Usage of the Current feature for a Step

Changes / Improvements

Works as intended for now. Will consult end user for any improvements.


Testing FEATURE NAME HERE

Replace this text with notes about what you are testing, how you tested it, and the outcome of the testing

PLACE SCREENSHOTS AND/OR ANIMATED GIFS OF THE TESTING HERE

Changes / Improvements

Replace this text with notes any improvements you made as a result of the testing.

PLACE SCREENSHOTS AND/OR ANIMATED GIFS OF THE IMPROVED SYSTEM HERE


Testing FEATURE NAME HERE

Replace this text with notes about what you are testing, how you tested it, and the outcome of the testing

PLACE SCREENSHOTS AND/OR ANIMATED GIFS OF THE TESTING HERE

Changes / Improvements

Replace this text with notes any improvements you made as a result of the testing.

PLACE SCREENSHOTS AND/OR ANIMATED GIFS OF THE IMPROVED SYSTEM HERE


Sprint Review

Replace this text with a statement about how the sprint has moved the project forward - key success point, any things that didn’t go so well, etc.