Skip to content

eidram/api_test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

React API Test

Objective:

Create a simple API endpoints using ExpressJS over nodejs with JWT authentication.

Instruction

Create User end points

    Post:
    Get:
    Delete:
    Update:

    parameters:
    email: email
    password: hash
    password_confirmation: hash

Create a Product endpoints

    Post:
    Get:
    Delete:
    Update:

    Parameters"
    product_name: string
    product_description: text
    product_price: decimal
    product_tag: array

Output:

  • Github repository
  • Unit test and proper validation and messages
  • Comments for each functionality

User

  • List of users
  • Individual User
  • User can update themselves if they are login

Products

  • List of products
  • Individual products
  • User can update/delete their own products unless they are not login

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published