Giter VIP home page Giter VIP logo

todo-app's Introduction

Modern Todo App with User Authentication

This is a modern Todo app built with Node.js, Express, MongoDB, and Nodemailer. It features user authentication, password reset functionality, and a user-friendly interface.

Features:

  • User Authentication:
    • Sign up and register new users.
    • Securely store user passwords using bcrypt.
    • Login using email and password.
    • Logout functionality.
  • Password Reset:
    • Send secure OTPs via email using Nodemailer.
    • Verify OTPs to confirm user identity.
    • Reset user passwords after verification.
  • Todo List:
    • Add new todo items.
    • Mark todo items as completed.
    • Delete todo items.
    • Store todo data in MongoDB.
  • User-Friendly Interface:
    • Clean and modern design with a responsive layout.
    • Easy-to-use features for managing todo lists.

Dependencies:

  • express: For building the web server.
  • mongodb: For interacting with the MongoDB database.
  • nodemailer: For sending emails.
  • bcrypt: For hashing passwords.
  • crypto: For generating secure OTPs.
  • zxcvbn: For password strength checking (used in the password reset page).

Running the Application:

  1. Install Dependencies:

    npm install
  2. Setup MongoDB:

    • Ensure MongoDB is running on your machine.
    • Create a database named 'userAuthDB'.
  3. Replace Email Credentials:

    • In server.js, replace "REPLACE WITH YOUR OWN EMAIL" with your actual email address and "REPLACE WITH YOUR OWN APP PASSWORD" with your app password for sending emails.
  4. Run the Server:

    nodemon main.js

    The server will start listening on port 8000.

  5. Access the App:

    • Open your browser and navigate to http://localhost:8000.

Instructions:

  • The application will guide you through registration, login, and password reset processes.
  • Once logged in, you can start adding and managing your todo items.

todo-app's People

Contributors

gitcoder052023 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.