Git Product home page Git Product logo

task-management's Introduction

Project Name

Task Management

Brief description or tagline about your project.

Task-Management is a full-stack web application built using the MERN stack. It incorporates Firebase as the database, Express.js as the backend framework, React for the frontend, and Node.js as the runtime environment.

Table of Contents

Project Overview

Provide a brief overview of your project, including its purpose, goals, and any other relevant information.

Prerequisites

  1. Node
  2. NPM
  3. JavaScript

Installation

Follow these steps to install and set up the project on your local machine. This assumes you have Node.js and npm installed.

Server-Side (Node.js)

  1. Clone the Repository:
    git clone https://github.com/your-username/your-project.git
    cd server 
    npm install
    nodemon index.js 
    

Client-Side (React.js)

  1. Clone the Repository:
    git clone https://github.com/your-username/your-project.git
    cd client 
    npm install
    npm start  
    

Project Structure

Server-Side: /server |-- /src | |-- /controllers | |-- /models | |-- /routes | |-- app.js | |-- .gitignore |-- README.md |-- package.json |-- package-lock.json

Client-Side: /client |-- /src | |-- /components | | |-- /Auth | | | |-- Login.js | | | |-- Signp.js | | | | | |-- /Navbar | | | |-- Navbar.js | | | | | |-- /Pages | | | |-- AddTasks | | | |-- Dashboard |-- FetchTasks | | | | | |-- App.js | | |-- index.js | | | |-- /state | | |-- /actions | | | |-- authActions.js | | | | | |-- /reducers | | | |-- authReducer.js | | | | | |-- store.js | | | |-- /Tests | | |-- Login.test.js | | | |-- .gitignore | |-- README.md | |-- package.json | |-- package-lock.json

Endpoints/APIs

Get All Tasks

  • Endpoint: /users/tasks
  • Method: GET
  • Description: Retrieve all tasks.

Fetch Tasks by User Email

  • Endpoint: /fetchtasks/email
  • Method: POST
  • Description: Fetch tasks associated with a specific user's email.

Add Task

  • Endpoint: /add/tasks
  • Method: POST
  • Description: Create a new task.

Delete Task

  • Endpoint: /delete/tasks/:id

  • Method: DELETE

  • Description: Delete a task by providing its ID.

  • Parameters:

    • id (string) - Task ID.

Update Task

  • Endpoint: /update/task/:id

  • Method: PUT

  • Description: Update an existing task by providing its ID.

  • Parameters:

    • id (string) - Task ID.

Authentication

  • /auth/login

    • Method: POST
    • Description: Log in a user.
  • /auth/register

    • Method: POST
    • Description: Register a new user.

Database Image

alt text alt text

Demonstration

1e4ca885-e5ca-443d-9c02-0edebca0f3fb.mp4

Fronent-Deployed Link

Hosting URL: https://task-management-7a088.web.app Server Side: The server side is not deployed due to some reasons, one can clone or refer the attached video to understand working of the project

Next Project Revision (Pending Work):

  1. Form Validations
  2. Refractor API's
  3. Add Unit + Integration Test Cases for components as well as API's
  4. Middlewares for API's to stop unwanted Requests.
  5. Rate Limitation for API's

task-management's People

Contributors

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