Skip to content

A simple todo app built using Node.js, Express, and MVC architecture.

Notifications You must be signed in to change notification settings

hydratronic/To-Do-App

Repository files navigation

Todo App

This is a simple todo app built using Node.js, Express, and MVC architecture.

Prerequisites

Before running the application, make sure you have the following installed on your machine:

  • Node.js (version X.X.X)
  • npm (Node Package Manager, typically comes with Node.js installation)

Installation

  1. Clone the repository:
  2. Install the dependencies: npm install

Configuration

  1. Rename the .env.example file to .env.

  2. Open the .env file and configure the environment variables, if necessary.

Usage

To start the application, run the following command: npm start The app will be running at http://localhost:8000. Open this URL in your browser.

Features

  • Add a new todo
  • View all todos
  • Update todo status
  • Delete a todo

Folder Structure

  • controllers/: Contains the controller logic for handling requests and responses.
  • models/: Contains the data models and database operations.
  • views/: Contains the views rendered by the server.
  • public/: Contains static files like CSS and client-side JavaScript.
  • routes/: Contains the route definitions for different endpoints.

Contributing

Contributions are welcome! If you find any issues or want to add new features, feel free to open an issue or submit a pull request.

Please make sure to follow the existing code style and include appropriate tests.

License

This project is licensed under the MIT License.

About

A simple todo app built using Node.js, Express, and MVC architecture.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published