GithubHelp home page GithubHelp logo

oyerohabib / pomodoro Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 352 KB

A Pomodoro App built with React and TypeScript. Productivity App.

Home Page: https://our-pomodoro.netlify.app/

License: MIT License

JavaScript 0.90% HTML 1.05% TypeScript 91.81% CSS 5.72% Dockerfile 0.52%
pomodoro pomodoro-clock pomodoro-technique pomodoro-timer productivity productivity-app productivity-tools timer

pomodoro's Introduction

๐Ÿ… Pomodoro

This productivity app, built with React and TypeScript was designed to enhance my productivity. I developed it as a side project to learn new skills and customize features to better suit my personal workflow, which has significantly improved my daily task management.

๐Ÿ“ธ Screenshots

Screenshot 6 Screenshot 5
Screenshot 3 Screenshot 4
Screenshot 2 Screenshot 1
Screenshot 2 Screenshot 1

Prerequisites

  • NodeJS version 14+
  • Docker (optional, if you will be running the App with docker)

๐Ÿ“ฆ Technologies Used

  • Vite
  • React.js
  • TypeScript
  • Tailwind CSS
  • Testing Library (Jest)
  • Jotai
  • Driver.js

โœจ Features

  • Start Pomodoro Session: Just hit start, and you're off!
  • Timer Indicators: Keep an eye on your time with handy indicators.
  • Customise Settings: Tailor your focus and break times to your liking.
  • Track Daily Tasks: Manage your to-dos effortlessly - add, remove, edit, and toggle tasks as needed.
  • Estimate Finish Time:ย Get an estimate of the time required to complete your daily tasks.

๐Ÿค” How to use it

  1. Add tasks to work on today
  2. Set estimate pomodoros (1 = 25min of work) for each task
  3. Select a task to work on
  4. Start timer and focus on the task for 25 minutes
  5. Take a break for 5 minutes when the alarm rings
  6. Iterate 3-5 until you finish the tasks

โ„น๏ธ Tip: The selected task will update its estimate pomodoro number once the pomodoro timer has finished!

๐Ÿ“š What I Learned

  • Advanced Wireframing techniques
  • Development of more complex custom hooks
  • Exploring Jotai for state management
  • Integrating Driver.js for improving user experience
  • Utilising Web Worker for background tasks
  • Implementing unit tests and component tests

๐Ÿ’ญ Future improvements

  • Enable customisation of background color for different timer mode
  • Enable customisation of sound
  • Implement user authentication for access across devices
  • Introduce a reward or punishment system to incentivize focus and facilitate mindfulness

๐Ÿšฆ Running the Project

To run the project in your local environment, follow these steps:

  1. Clone this project using the following command:

    git clone https://github.com/oyerohabib/pomodoro.git
  2. Navigate to the project directory:

    cd pomodoro
  3. Install the dependencies:

    npm install
  4. Build the project:

    npm run build
  5. Preview the project:

    npm run preview
  6. Open http://localhost:5173 (or the address shown in your console) in your web browser to view the app.

  7. To run the test cases, use:

    npm run test

Alternatively, you can run the application using Docker, after step 2 above, run the below commands:

  1. Open and start the Docker Application on your computer.

  2. Login into docker by running, docker login command and ensure the login is successful.

  3. Build the Docker Image:

    docker build -t pomodoro .
  4. Run the Docker Container:

    docker run -p 5173:5173 -d pomodoro:1.0

Alternatively, you can pull the docker image (from docker hub) and simply run, without having to build or clone it.

  1. Pull the Docker Image:

    docker pull habibo1234/pomodoro:1.0
  2. Run the Docker Image:

    docker run -p 5173:5173 -d habibo1234/pomodoro:1.0

Contributing to project

Thank you for considering contributing to the Pomodoro App! We welcome contributions from the community to help improve and grow the project.

Please note that this project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report any unacceptable behavior.

License

This project is licensed under the MIT License.

pomodoro's People

Contributors

oyerohabib avatar

Stargazers

 avatar  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.