Skip to content

dev-david-alves/todo-app-with-reordering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 To-do App with Reordering

A practice project built to explore React, TypeScript, drag-and-drop interactions, SQLite persistence, and automated testing with Vitest and React Testing Library.

Create, complete, delete, and reorder tasks with drag and drop. Includes filtering, theme switching (light/dark), and a simple Node.js + Express.js + SQLite backend.


React Vite TypeScript TailwindCSS Framer Motion Vitest Testing-Library NodeJS Express.js SQLite


🚀 Features

  • Create a todo
  • Mark a todo as completed
  • Delete a todo
  • Reorder todos by drag and drop
  • Filter by All, Active, and Completed
  • Clear all completed todos
  • Switch between Light and Dark themes
  • Save todos in a local SQLite database
  • Fully responsive for Desktop and Mobile

🧩 Tech Stack

Frontend: React + Vite + TypeScript + Tailwind CSS
Animations: Framer Motion
Backend: Node.js + Express.js + SQLite
Testing: Vitest + React Testing Library


🛠️ Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn

Installation

  1. Clone this repository:

    git clone https://github.com/dev-david-alves/todo-app-with-reordering.git
    cd todo-app-with-reordering
  2. Install dependencies:

    cd server && npm install
    cd ../client && npm install
  3. Start the backend:

    cd server
    npm start
  4. Start the frontend:

    cd client
    npm run dev
  5. Open the local address (usually):

    http://localhost:5173
    

🧪 Running Tests

Run unit and integration tests using Vitest and React Testing Library:

npm run test

or

npm run test:ui

🖼️ Screenshots

💻 Desktop Dark Mode

Desktop Dark Mode

💻 Desktop Light Mode

Desktop Light Mode

📱 Mobile Dark Mode

Mobile Dark Mode

📱 Mobile Light Mode

Mobile Light Mode

🧪 Test Results

Test Results


👤 Author

David Alves
Bachelor in Computer Science at the Federal University of Ceará
💼 LinkedIn 📧 david.als.soares@gmail.com

📂 Project Link: https://github.com/dev-david-alves/todo-app-with-reordering


🪪 License

This project is licensed under the MIT License.


⭐ If you found this project useful or inspiring, consider giving it a star!

About

A Todo App with reordering made by using React + TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •