Skip to content

Latest commit

 

History

History
73 lines (58 loc) · 2.22 KB

README.md

File metadata and controls

73 lines (58 loc) · 2.22 KB

TaskEase

TaskEase is a task management application that allows users to create tasks, mark them as completed, and view both current and completed tasks. It features user authentication, task management, and secure data handling.

Features

  • Task Management: Create, view, and manage tasks.
  • Task Completion: Mark tasks as completed and view completed tasks.
  • User Authentication: Secure user registration and login.
  • Data Security: Passwords are encrypted using bcrypt.
  • Token Management: JSON Web Tokens (JWT) are used for user authentication with token expiry logic.
  • Validation: Zod is used for data validation to ensure data integrity.

Technologies Used

Frontend

  • React: User interface development.
  • Axios: HTTP client for API requests.

Backend

  • Express: Backend framework for handling HTTP requests.
  • Mongoose: ODM (Object Data Modeling) library for MongoDB.
  • Zod: Data validation library for request validation.
  • bcrypt: Library for hashing passwords.
  • JWT: JSON Web Token for user authentication.

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/taskease.git
    cd taskease
  2. Install Dependencies:

    cd ./backend
    npm install
    npm i express
    npm i cors
    npm i zod
    npm i mongoose
    npm i bcrypt
    npm i jsonwebtoken
    npm i dotenv
    cd ./frontend
    npm install
  3. Set up environment variables: Create a .env file in the root directory ie./backend and add the following variables:

    MONGO_URL=mongodb://localhost:27017/taskease
    JWT_SECRET=your_jwt_secret
    PORT =3000
  4. Start the backend server:

    node index.js
  5. Start the frontend server:

    npm run dev

Contributions

Contributions to the TaskEase project are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

Thank you for using TaskEase Happy Coding! 🚀