Coder Social home page Coder Social logo

backendevaluation's Introduction

Backend evaluation

Introduction What does the API do?

It allow you to create a User Story(i.e ticket or card) which contains information about what kind of task needs to be performed and then the admin will review the User Story, make changes if required. Admin can approve or reject the User story created by the user.

Overview This API was built with Node It work well with any language

It is assumed that users are already registered on the platform.

Language GET /api/users/stories/:user

/users/stories/:user

Get users story created by the User. The user parameter is the id of the user.

PATH VARIABLES user

Example Request Default curl --location --request GET '/users/stories/:user'
--data-raw ''

GET /api/admin/stories/:user

/admin/stories/:user This route allows admin to see the list of stories created

PATH VARIABLES user = the user id of the admin

Example Request Default curl --location --request GET '/admin/stories/:user'
--data-raw ''

POST /api/create /create This route allows user to create new story with the following parameters - summary: STRING, type: STRING, description: STRING, complexity: STRING, timeForCompletion: DATE, cost: Integer, owner: STRING, status: STRING

Example Request Default curl --location --request POST '/create' </b> --data-raw ''

PUT /api/admin/stories/update

/admin/stories/update Where admin updates stories. All the parameters should be sent with the form including the stoty id

Assumption is that it is only admin that can have access to the delete button

Example Request Default curl --location --request PUT '/admin/stories/update' </b> --data-raw ''

DEL /api/admin/stories/delete/:id

/admin/stories/delete/:id Route to delete story by admin

Assumption is that it is only admin that can have access to the delete button

PATH VARIABLES id

Example Request Default curl --location --request DELETE '/admin/stories/delete/:id' </b> --data-raw ''

backendevaluation's People

Contributors

dependabot[bot] avatar ezeko avatar

Watchers

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