Code Monkey home page Code Monkey logo

todo-app's Introduction

Todo App

A simple and organized Todo App with a Node.js backend and a beautiful frontend.

Table of Contents

Overview

This Todo App is designed to help you keep track of your tasks with ease. It features a Node.js backend that handles the logic of the todo list and a clean, attractive frontend for a seamless user experience.

Features

  • Create, read, update, and delete todos.
  • Store todo data in-memory without the need for a database.
  • Persistent data storage using JSON files.
  • Beautiful and responsive user interface.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js
  • npm (Node Package Manager)

Getting Started

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/your-repo.git
  2. Navigate to the project directory:

    cd your-repo
  3. Install dependencies:

    npm install

Usage

  1. Run the server:

    npm start

    This will start the Node.js server at http://localhost:3000.

  2. Open the frontend:

    Open index.html in your browser or serve it using a simple HTTP server.

    # For example, using Python:
    python -m http.server

    Open your browser and go to http://localhost:8000 (or another port as specified by the server).

API Endpoints

  • GET /todos: Retrieve all todo items.
  • GET /todos/:id: Retrieve a specific todo item by ID.
  • POST /todos: Create a new todo item.
  • PUT /todos/:id: Update an existing todo item by ID.
  • DELETE /todos/:id: Delete a todo item by ID.

For more details, refer to the API Documentation.

Frontend

The frontend is a simple and elegant user interface for managing your todos. It provides a form to add new todos, a list to display existing todos, and buttons to update or delete todos.

Todo App Screenshot

Tech Stack

  • Node.js
  • Express
  • HTML
  • CSS
  • JavaScript

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

todo-app's People

Contributors

md-aafaque 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.