dimy-tech-test

command module
v0.0.0-...-af0b203 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

dimy-tech-test

How to run this project

Open project cd dimy-tech-test

Change .env files with your configuration

Run program go run main.go


BASE URL host.com:3001/api/v1

Customer
GET /customers
GET /customers/:id
POST /customers
PATCH /customers/:id
DELETE /customers/:id

Address
GET /addresses?customer_id=id
GET /addresses/:id
POST /addresses?customer_id=id
PATCH /addresses/:id
DELETE /addresses/:id

Product
GET /products
GET /products/:id
POST /products
PATCH /products/:id
DELETE /products/:id

Payment Method
GET /payment_methods
GET /payment_methods/:id
POST /payment_methods
PATCH /payment_methods/:id
DELETE /payment_methods/:id

Order
GET /orders
GET /orders/:id
POST /orders?customer_id=id
PATCH /orders/:id
DELETE /orders/:id

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL