Skip to content

biancamota/desafio-tecnico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Technical Challenge

Product Registration and Sales System for a Marketplace

Stacks

Front-end: VueJs with Quasar

Back-end: PHP

Require

Make sure you have the following require installed on your machine:

  • Docker
  • Docker Compose

Installation

 git clone https://github.com/biancamota/desafio-tecnico.git
 cd desafio-tecnico
 docker-compose up --build -d

The API will be available at: http://localhost:9090/

The Frontend will be available at: http://localhost:9000/

Routes API

Products

  GET /products
Parameter Type Description
none none return all products
  GET /products/{id}
Parameter Type Description
id string return a specific product with the given ID
  POST /products
Parameter Type Description
id string Creates a new product.
  PUT /products/{id}
Parameter Type Description
id string Updates an existing product with the provided ID.
  DELETE /products/{id}
Parameter Type Description
id string Deletes a product with the provided ID.

Caterogories

  GET /categories
Parameter Type Description
none none return all categories
  GET /categories/{id}
Parameter Type Description
id string return a specific category with the given ID
  POST /categories
Parameter Type Description
id string Creates a new category.
  PUT /categories/{id}
Parameter Type Description
id string Updates an existing category with the provided ID.
  DELETE /categories/{id}
Parameter Type Description
id string Deletes a category with the provided ID.

Sales

  GET /sales
Parameter Type Description
none none return all sales
  GET /sales/{id}
Parameter Type Description
id string return a specific sale with the given ID
  POST /sales
Parameter Type Description
id string Creates a new sale.
  PUT /sales/{id}
Parameter Type Description
id string Updates an existing sale with the provided ID.
  DELETE /sales/{id}
Parameter Type Description
id string Deletes a sale with the provided ID.

Users

  GET /users
Parameter Type Description
none none return all users
  GET /users/{id}
Parameter Type Description
id string return a specific user with the given ID
  POST /users
Parameter Type Description
id string Creates a new user.
  PUT /users/{id}
Parameter Type Description
id string Updates an existing user with the provided ID.
  DELETE /users/{id}
Parameter Type Description
id string Deletes a user with the provided ID.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published