Giter Site home page Giter Site logo

todo_app's Introduction

About

My project is a simple to-do list application. The front end is built using React, utilizing the template. The backend is developed with Python, employing FastAPI. The application includes the following features:

  • Users can create multiple lists by specifying the list name. Each list can contain different items (tasks), with each item having a title, priority (high, medium, low, or none), and due date.

image

  • Accessing the item list of a specific list is achieved by navigating to the list of lists and then clicking on the desired list's name.

image

  • Items can be marked as done by checking their respective checkboxes.
  • Filtering options are available within each list based on priority and item status (done or not yet).

image

  • The project contains a dashboard with 4 KPIs:
    • Total number of items (both done and not yet done).
    • Number of items not done.
    • Number of items with a due date and not done.
    • Number of items with high priority and not done.

image

I tried writing clean and understandable code throughout the project, ensuring readability. I'm looking forward to your feedback!

Installation

Clone the project

git clone https://github.com/othmane099/todo_app.git

Backend

Set up virtual environment

python3 -m venv .venv
source .venv/bin/activate

Install requirements

pip install -r requirements.txt

Set up db_url in main.py

register_tortoise(
    app,
    db_url='mysql://root:password@localhost/todo_db',
    modules={"models": ["models"]},
    generate_schemas=True,
    add_exception_handlers=True
)

Run the server

python -m uvicorn main:app --reload

Frontend

Recommended Node.js v18.x.

Install Packages

yarn install

Start server

yarn dev

todo_app's People

Contributors

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