Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-commerce API

A RESTful e-commerce API built with Go and SQLite. Clean architecture, minimal dependencies and CORS enabled.

Stars Language License

Features

  • Product management (CRUD)
  • Order management
  • SQLite database
  • CORS enabled
  • Clean architecture with packages

Endpoints

Method Path Description
GET /products List all products
POST /products Create a product
GET /products/:id Get a product
PUT /products/:id Update a product
DELETE /products/:id Delete a product
GET /orders List all orders
POST /orders Create an order

Getting Started

go mod tidy
go run main.go

The API will be available at http://localhost:8080.

Tech Stack

  • Go
  • SQLite
  • net/http (stdlib)

License

MIT

Releases

Packages

Contributors

Languages