Skip to content

KimAdrian/ecom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecommerce API

Running the API

docker compose up -d

Prerequisites

Running the API

go run cmd/*.go

Adding a new table

  1. Create a new migration file under internal/adapters/postgres/migrations
goose -s create create_products sql
  1. Run the migrations
goose up
  1. Generate the SQLC code
sqlc generate
  1. Consume it from your services 🚀

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages