Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

A simple Kanban Board with HTML5 LocalStorage. A focus on a single-page React app, React-testing-library (with Jest), and BlueprintJS.

Notifications You must be signed in to change notification settings

MichelleWillaQu/A-Simple-Kanban-Board

Repository files navigation

A Simple Kanban Board

Developed by: Willa Qu


A kanban board with some data persistence. Built with create-react-app and BlueprintJS, this project was a focus on learning libraries (react-testing-library and BlueprintJS) and modularized React code in the form of a single-page React app.

Why?: Based on a timed coding challenge I received and did terribly on. I decided to work through the problem and understand each step, especially the testing. I also added HTML5 LocalStorage for some data persistence and I will experiment with other front-end data storages in the future.

Features

App Picture
Users can add tasks to one of the four categories. Tasks cannot have the same name since the task name is its unique identifier. If the new task name is already on the page, the user will be alerted.
The 'Clear All Tasks' button will clear all the tasks on the screen.
When the tab or window is closed, the app will save all the task data to the web browser's localStorage for retrieval on the next visit.

Picture of a Task Clicked
Clicking on a task highlights the task in pink and brings up options for that task. The task can be moved with the 'Back' and 'Forward' buttons (the stages on the ends are lacking one of the buttons because logically one cannot move past the outer categories). The delete button will delete the task.

Testing

The current 100% test coverage! An overview of all the tests run:
Test Coverage

Usage

yarn start
Runs the app in the development mode. Open http://localhost:5000 to view it in the browser.

yarn test
Launches the test runner in the interactive watch mode.

yarn test:coverage
Runs all the tests and outputs the coverage percentages directly in the terminal. For a more detailed coverage report, look at ./coverage/lcov-report/index.html after the command is run.

About

A simple Kanban Board with HTML5 LocalStorage. A focus on a single-page React app, React-testing-library (with Jest), and BlueprintJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published