This is a simple todo app built using Node.js, Express, and MVC architecture.
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)
- Clone the repository:
- Install the dependencies: npm install
-
Rename the
.env.example
file to.env
. -
Open the
.env
file and configure the environment variables, if necessary.
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.
- Add a new todo
- View all todos
- Update todo status
- Delete a todo
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.
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.
This project is licensed under the MIT License.