TaskMaster Frontend is a frontend application which connects to a backend application through API calls to view and interact with tasks and tags in a task management application.
This application provides a user-friendly interface for managing tasks and tags. Users can create, edit, delete, and filter tasks, as well as manage tags for better organization. It includes an authentication feature and displays statistics on task completion.
- Task Management: Create, edit, delete, and mark tasks as completed.
- Tagging System: Create and manage tags to categorize tasks.
- Filtering: Filter tasks by completion status, tags, and search terms.
- Authentication: Password-based authentication for secure unique access.
- Statistics: View stats on total tasks, completed tasks, and progress.
- Responsive Design: Built with Tailwind CSS for a modern, responsive UI.
- Framework: Next.js 16.1.1
- Language: TypeScript
- Styling: Tailwind CSS
- Icons: Lucide React
- Linting: ESLint
- Build Tool: Next.js (with npm scripts)
src/
app/
components/
PasswordAuth.tsx
StatsCard.tsx
TaskControls.tsx
TaskItem.tsx
tag/
CreateTagModal.tsx
EditTagListModal.tsx
EditTagModal.tsx
task/
EditTaskModal.tsx
NewTaskModal.tsx
hooks/
useTaskFiltering.ts
useTaskHandlers.ts
useTaskManagerState.ts
useTasksAndTags.ts
lib/
api.ts
types/
task.ts
utils/
taskUtils.ts
globals.css
layout.tsx
page.tsx
TaskManager.tsx
public/
(static assets)
- Node.js (version 18 or higher)
- npm or yarn
-
Clone the repository:
git clone <repository-url> cd mastertracker-frontend -
Install dependencies:
npm install -
Set up environment variables (see below).
-
Run the development server:
npm run dev -
Open http://localhost:3000 in your browser.
Create a .env.local file in the root directory and add the following:
NEXT_PUBLIC_TASKMASTER_DB_URL=http://your-backend-api-url
NEXT_PUBLIC_APP_PASSWORD=yourpassword
Replace http://your-backend-api-url with the actual URL of your TaskMaster backend API.
Replace yourpassword with the actual password you whihc to use to access the TaskMaster frontend.
[Luis Fernando Villalon] - Created as a learning project for backend development with FastAPI.