A simple Angular application for managing tasks with full CRUD (Create, Read, Update, Delete) functionality. All data is stored in memory - no database required!
- ✅ Create new tasks
- 📝 Update existing tasks
- 🗑️ Delete tasks
- 👀 View all tasks
- 🎨 Modern, responsive UI
- 💾 In-memory data storage (no database needed)
- Node.js (v18 or higher)
- npm or yarn
- Navigate to the project directory:
cd task-tracker- Install dependencies:
npm install- Start the development server:
npm start- Open your browser and navigate to
http://localhost:4200
- View Tasks: The home page displays all your tasks
- Create Task: Click "New Task" button to create a new task
- Edit Task: Click "Edit" button on any task to modify it
- Delete Task: Click "Delete" button on any task to remove it
task-tracker/
├── src/
│ ├── app/
│ │ ├── components/
│ │ │ ├── task-list/ # Component for viewing all tasks
│ │ │ └── task-form/ # Component for creating/editing tasks
│ │ ├── models/
│ │ │ └── task.model.ts # Task interface definition
│ │ ├── services/
│ │ │ └── task.service.ts # Service for task management (in-memory storage)
│ │ ├── app.component.ts # Root component
│ │ └── app.routes.ts # Routing configuration
│ ├── index.html
│ ├── main.ts
│ └── styles.css
├── angular.json
├── package.json
└── tsconfig.json
All task data is stored in memory using the TaskService. The service maintains an array of tasks and provides methods for CRUD operations. Data persists during the session but will be reset when the application is reloaded.
- Angular 17
- TypeScript
- RxJS
- Angular Router
- Angular Forms (Reactive Forms)