Skip to content

Latest commit

 

History

History
146 lines (101 loc) · 4.2 KB

README.md

File metadata and controls

146 lines (101 loc) · 4.2 KB

Project Title

TASKEMAN (Task Management App) Client Side

Demo

App Screenshot

Authors

API Reference

User signup

   POST /api/v1/users/signup
Parameter Type Description
name string Required. Your name
email string Required. Your email address
password string Required. Your given password
passwordConfirm string Required. Your password confirmation

User login

   POST /api/v1/users/login
Parameter Type Description
email string Required. Your email address
password string Required. Your given password

User Update Data

   PUT /api/v1/users/updateUserData
Parameter Type Description
email string Required. Your email address
name string Required. Your name
photo file Not Required. Your image

Change Password

  PATCH /api/v1/users/changePassword
Parameter Type Description
currentPassword string Required Users current password
password string Required. Users password
passwordConfirm string Required. Users password Confirmation

Get all tasks

  GET /api/v1/tasks
Parameter Type Description
jwt string Required. Your jwt token

Get task

  GET /api/v1/task/${id}
Parameter Type Description
id string Required. Id of task to fetch
jwt string Required. Your jwt token

Update task

  PATCH /api/task/${id}
Parameter Type Description
id string Required. Id of task to update
jwt string Required. Your jwt token

Create task

  POST /api/v1/tasks
Parameter Type Description
jwt string Required. Your jwt token
title string Required. Your task title
description string Required. Your task description
photo file Not Required. Your task photo

Delete task

  DELETE /api/v1/task/${id}
Parameter Type Description
id string Required. Id of task to delete
jwt string Required. Your jwt token

Documentation

Documentation

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

CI= npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!