Skip to content

Latest commit

 

History

History
85 lines (61 loc) · 3.35 KB

File metadata and controls

85 lines (61 loc) · 3.35 KB

Task Manager App

A simple task manager application built with React for the frontend and Express with SQLite for the backend. This app allows you to create, manage, and organize tasks with parent-child relationships and reordering features.


Features

  • Add Tasks: Quickly add new tasks with an intuitive input field.
  • Parent-Child Relationships: Organize tasks hierarchically with parent-child structures.
  • Task Completion: Mark tasks as completed with a single click.
  • Reorder Tasks: Drag and drop tasks to reorder them.
  • Persistent Storage: Tasks are saved using SQLite for persistent data management.

Requirements

  • Node.js (v20.9.0 or later)
  • npm (v9.x or later)
  • SQLite 3

Setup Instructions

  1. Clone the repository
https://github.com/andy-broyles/task-manager.git
cd task-manager
  1. Install dependencies
npm install
cd frontend
npm install
  1. Run the backend server
npm run dev
  1. Run the frontend
cd frontend
npm start

Deployment

Frontend Build

cd frontend
npm run build

Backend Production Server

npm start

API Endpoints

Base URL: http://localhost:5000

  • GET /tasks: Fetch all tasks.
  • POST /tasks: Add a new task.
    • Body: { name: string, completed: boolean, parentId: number | null }
  • DELETE /tasks/:id: Delete a task by ID.
  • PUT /tasks/:id: Update task completion status.

Screenshots

Task Manager Screenshot


License

This project is licensed under the MIT License.