Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues template #1

Open
LinaYahya opened this issue Oct 20, 2021 · 1 comment
Open

Issues template #1

LinaYahya opened this issue Oct 20, 2021 · 1 comment

Comments

@LinaYahya
Copy link
Contributor

LinaYahya commented Oct 20, 2021

Express Route template

labels: backend, route

Title: METHOD/full-route , eg: POST/login

Description
what route should do

Protected: Yes/No

Required middlewares: if exist


Response:
Response may be success or error :

Error :

    {
        status:400,
        message:'Bad reqeust'
    }

Success

 {
     status:200,
     data: [...please fill sample of data] , 
 }

Request body:

{
  x: "Y"
}

Validation

{
  x: string.min(19)
}

Tests: test all potential cases for the route itself.

@LinaYahya LinaYahya pinned this issue Oct 20, 2021
@LinaYahya
Copy link
Contributor Author

React Route template

Title: Name of the page - /route with labels front, Route

Route: /

signed in only? : false

admin only?: false

Screenshot from Figma

Components:

  • component 1
  • component 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant