Skip to content

A MVC to-do app. This project involved understanding of concepts - how they are applied in a small level, and why they may be necessary in projects of larger scale. This meant taking on an existing codebase and (1) finding and fixing bugs, (2) adding unit tests with Jasmine, (3) analising performance, and (4) producing a technical documentation.

License

Notifications You must be signed in to change notification settings

a-formoso/OC-Project8-todo-list-app

Repository files navigation

To-do List Application

OpenClassrooms: Front-end Web Developer, Project 8

Project deliverables

  • Hunt and fix the bugs
  • Add tests to support the project
  • Analyse website performance
  • Write technical documentation

Author

By Alexandre Formoso - February 2020

Preview application

Alternatively

  • Run npm install
  • Open the index.html file

game printscreen

Example Code

/*global app, $on */

(function () {
	'use strict';

	/**
	 * Sets up a brand new Todo list.
	 *
	 * @param {string} name The name of your new to do list.
	 */
	function Todo(name) {
		this.storage = new app.Store(name);
		this.model = new app.Model(this.storage);
		this.template = new app.Template();
		this.view = new app.View(this.template);
		this.controller = new app.Controller(this.model, this.view);
	}

	var todo = new Todo('todos-vanillajs');

	function setView() {
		todo.controller.setView(document.location.hash);
	}
	$on(window, 'load', setView);
	$on(window, 'hashchange', setView);
})();

About

A MVC to-do app. This project involved understanding of concepts - how they are applied in a small level, and why they may be necessary in projects of larger scale. This meant taking on an existing codebase and (1) finding and fixing bugs, (2) adding unit tests with Jasmine, (3) analising performance, and (4) producing a technical documentation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published