Skip to content

Todo-Angular is a lightweight to-do list application built with Angular. It allows you to add, edit, mark complete, and delete tasks — all while storing data locally in your browser using Local Storage, so no backend or database is required.

Notifications You must be signed in to change notification settings

grigoryanmartin20/todo-angular

Repository files navigation

Todo Angular

A simple todo application built with Angular that uses local browser storage to save and manage todos. This app allows you to create, edit, delete, and mark todos as complete, with all data persisted locally in your browser's storage.

Features

  • ✅ Create new todos
  • ✏️ Edit existing todos
  • 🗑️ Delete todos
  • ✅ Mark todos as complete/incomplete
  • 💾 Automatic local storage persistence
  • 📱 Responsive design
  • 🎨 Clean and modern UI

Prerequisites

Before running this project, make sure you have the following installed:

Installation

  1. Clone the repository:
git clone <repository-url>
cd todo-angular
  1. Install dependencies:
npm install

This project was generated using Angular CLI version 20.3.3.

Development server

To start a local development server, run:

ng serve

Once the server is running, open your browser and navigate to http://localhost:4200/. The application will automatically reload whenever you modify any of the source files.

Code scaffolding

Angular CLI includes powerful code scaffolding tools. To generate a new component, run:

ng generate component component-name

For a complete list of available schematics (such as components, directives, or pipes), run:

ng generate --help

Building

To build the project run:

ng build

This will compile your project and store the build artifacts in the dist/ directory. By default, the production build optimizes your application for performance and speed.

Running unit tests

To execute unit tests with the Karma test runner, use the following command:

ng test

Running end-to-end tests

For end-to-end (e2e) testing, run:

ng e2e

Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.

Usage

Once the development server is running, you can:

  1. Add a new todo: Type your task in the input field and press Enter or click the Add button
  2. Mark as complete: Click the checkbox next to any todo to mark it as complete
  3. Edit a todo: Click on the todo text to edit it inline
  4. Delete a todo: Click the delete button (🗑️) next to any todo
  5. View all todos: All your todos are automatically saved and will persist between browser sessions

Data Storage

This application uses the browser's localStorage API to persist your todos. This means:

  • Your todos are saved locally on your device
  • Data persists between browser sessions
  • No server or database required
  • Data is private to your browser

Technologies Used

  • Angular 20.3.3 - Frontend framework
  • TypeScript - Programming language
  • SCSS - Styling
  • Local Storage API - Data persistence
  • Angular CLI - Development tools

Contributing

Feel free to contribute to this project by:

  1. Forking the repository
  2. Creating a feature branch
  3. Making your changes
  4. Submitting a pull request

License

This project is open source and available under the MIT License.

Additional Resources

For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.

About

Todo-Angular is a lightweight to-do list application built with Angular. It allows you to add, edit, mark complete, and delete tasks — all while storing data locally in your browser using Local Storage, so no backend or database is required.

Topics

Resources

Stars

Watchers

Forks