- This is a Todo application built with the MERN stack (MongoDB, Express, React, and Node.js) and Redux. The application allows users to create, edit, and delete todos. Users can also mark todos as completed or not completed.
To install the Todo app, follow these steps:
git clone https://github.com/{your-username}/To-Do-Web-App.git
cd Client
for Front-endcd server
for Back-endnpm install
to install all the dependecies
3. Create a .env
file and copy the configuration from .env.sample
to .env
and replace the configs by your configs
Step 1 :
npm start
in the server folder start the server and make sure you get logs in console that areServer Initialised on port 8000
database connected succefully
Step 2 :
npm start
in the client folder- Your development build will start
To add a new Todo, click the "Add Todo" button in the header. Type in the name of the Todo in the input field and press "Enter" or click the "Add" button. The new Todo will be added to the list.
To edit a Todo, click the "Pen" button next to the Todo you want to edit. The Todo will be displayed in an input field. Make your changes and press "Enter".
To delete a Todo, click the "Trash" button next to the Todo you want to delete. The Todo will be removed from the list.
To mark a Todo as completed, click the on Todo. The Todo will be crossed out to indicate that it has been completed.
To filter the list of Todos, click the "All todo", "Active todo", or "Done todo" buttons in the header. The list will show only the Todos that match the selected filter.
The Todo app uses the following dependencies:
axios
: for making HTTP requests to the backend APIreact
: for building the user interfacereact-dom
: for rendering the user interfacereact-redux
: for managing application state with Reduxreact-router-dom
: for client-side routingredux
: for managing application stateredux-thunk
: for handling asynchronous actions in Reduxredux-devtools-extensions
: for effective use of reduxfont-awesome
: for fonts that are used in the web-appexpress
: for creating routesdotenv
: to use the .env file in reactmongoose
: to create schemas and connect it to Database
The Todo app is licensed under the MIT License. See the LICENSE file for more information.