Giter Club home page Giter Club logo

task-app's Introduction

task-app

A simple react application that renders a list of tasks categorized into three lanes: To Do, In Progress, and Completed.

Built using react hooks, styled-components, and the react-beautiful-dnd library.

task-app

Installation

You will need node and yarn installed.

Clone repo

# clone the repo
git clone https://github.com/CBMasri/task-app.git

# go into app's directory
cd task-app

# install dependencies
yarn install

Scripts

# serve with hot reload at localhost:3000
yarn start

# build for production with minification
yarn build

# launch the test runner
yarn test

Application Usage

Each lane represents a task state. When a task is first created, it will appear under the To Do lane. Tasks can be moved between lanes using the mouse or via keyboard commands. Task data will be saved in your local browser storage.

Action
Create a task Enter the task in the input box (Enter to confirm)
Edit a task Click the text of the task you wish to edit (Enter to confirm, Esc to abort)
Remove a task Click the red X which appears when you hover over a task
Remove all tasks Click the Clear Tasks button in the top right

Accessibility

react-beautiful-dnd comes with built-in accessibility controls.

Action Keyboard Command
Move to next item Tab
Select a task Space
Move the task Arrow keys
Complete the move Space
Abort the move Esc

Deployment

Heroku provides a builpack for apps bootstrapped with create-react-app.

heroku create -b https://github.com/mars/create-react-app-buildpack.git
git push heroku master
heroku open

task-app's People

Contributors

cbmasri avatar

Stargazers

 avatar

Watchers

 avatar

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.