Git Product home page Git Product logo

crud_rest_api's Introduction

Task-node-js-Rest_api

this is a task managment Rest Api build using node js #CRUD operation is performed here

Schema Design

{ Taskname: { Tpye is string, should be unique and is require. },

Team_assigned: {
  Type is string and is require
},
Start_day: {
  Type is string and is require
},
Time_given_days: {
  Type is Number and is require
},

},

route for registering a task(post method)

POST: http://localhost:3000/tasks eg:-
here username ,phoneNumber and password must be unique and password's length must be at least 6
{
"Taskname":"Process Management", "Team_assigned":"Process Managers", "Start_day":"10:10:2023", "Time_given_days":10
}

route for updating the credentials for a task(put method)

You need to select the id and Change the details you want to. PUT: http://localhost:3000/tasks/id

route for deleting a task(delete method)

DEL: http://localhost:3000/tasks/id

route for getting the data of a task(get method)

Get all the tasks GET: http://localhost:3000/tasks

Get a task by its id GET: http://localhost:3000/tasks/id

crud_rest_api's People

Contributors

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