Git Product home page Git Product logo

mern-task-app's Introduction

Task Management Application (MERN Stack)

This is a Task Management Application developed using the MERN stack (MongoDB, Express, React, Node.js). The application allows users to manage tasks by adding, editing, and deleting them. Each task includes a title, description, due date, and completion status.

Table of Contents

Prerequisites

Installation

  1. Clone the repository for backend from here:

    git clone https://github.com/NazimNasser/mern-task-app.git
    
    or for SSH:
    
    git clone [email protected]:NazimNasser/mern-task-app.git
    cd mern-task-app
    
  2. Clone the repository for frontend from here:

    git clone https://github.com/NazimNasser/mern-task-app-frontend.git
    
    or for SSH
    
    git clone [email protected]:NazimNasser/mern-task-app-frontend.git
    cd mern-task-app
    
  3. Install backend dependencies:

    cd backend
    npm install
    
  4. Install frontend dependencies:

    cd /frontend
    npm install
    

Setting Up the Database

Configure the backend environment:

  1. Create a .env file in the backend directory.

  2. Add your MongoDB connection URI to the .env file:

    MONGODB_URI='mongodb+srv://NazimNasser:[email protected]/taskManagement?retryWrites=true&w=majority'
    

Running the Application

Start the backend and frontend servers:

  1. Start the backend server:

    cd backend
    npm run dev or npm start
    

The backend server will be running at http://localhost:5000.

  1. In a separate terminal, start the frontend development server:

    cd frontend
    npm run dev
    

The frontend development server will be running at http://localhost:3000.

  1. Open your web browser and go to http://localhost:3000 to access the Task Management Application.

Usage

  • Use the user interface to add, edit, and delete tasks.
  • Mark tasks as completed by toggling the checkbox.
  • Sort tasks in ascending or descending order by clicking the "Sort" button.
  • Show/hide completed tasks using the "Show Completed" button.
  • Filter tasks by due date using the date picker.

Technologies Used

  • Frontend: Next.js, React, Redux Toolkit, Yup, Formik, Tailwind CSS
  • Backend: Node.js, Express, MongoDB

mern-task-app's People

Contributors

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