Giter VIP home page Giter VIP logo

todo-frontend's Introduction

CRUD Todo Angular App

This is a simple CRUD (Create, Read, Update, Delete) Todo application built using Angular on the frontend and a Spring-based RESTful API on the backend to manage the Todo items (Located here -> https://github.com/ruthmazango/todoApi). The frontend consumes the backend API to perform operations on the Todo items.

Features

  • View a list of existing Todo items.
  • Add new Todo items.
  • Edit existing Todo items.
  • Delete Todo items.

Technologies Used

  • Angular (Frontend)
  • Spring Boot (Backend)
  • Spring Data JPA
  • MySQL (Database, optional)
  • Bootstrap (Styling)

Prerequisites

Before running the application, make sure you have the following tools installed:

Getting Started

  1. Clone the repository:

    git clone https://github.com/ruthmazango/todoApi
    cd todoApi
  2. Frontend Setup:

    git clone https://github.com/ruthmazango/todo-frontend
    cd todo-frontend
    npm install
    ng serve

    The Angular app should now be running at http://localhost:4200.

Configuration

  • To configure the backend's database connection, modify the application.properties file in the src/main/resources directory.

API Endpoints Implemented

  • GET /api/todos: Get a list of all Todo items.
  • GET /api/todos/{id}: Get details of a specific Todo item.
  • POST /api/todos: Create a new Todo item.
  • PUT /api/todos/{id}: Update details of a specific Todo item.
  • DELETE /api/todos/{id}: Delete a specific Todo item.

Contributing

Contributions are welcome! Feel free to submit issues and pull requests.

Still to come

  • Pagination of list todos: Right now one has to scroll through the list of all Tasks
  • Reload page after delete: Right now one has to reload the page after completing a delete action
  • Using HTTP Patch Update instead of HTTP Put update: It can only perform HTTP Put, which means all fields have to be updated otherwise it will return the unedited fields as NULL

todo-frontend's People

Contributors

ruthmazango avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.