# README
Clean REST API with Go and MySQL
Description
This project is a REST API built with Go and MySQL, specifically designed to handle the operations of an ecommerce. It follows the clean architecture approach, allowing a well structured and easy to maintain code. This API provides endpoints to manage users, products and inventory, and focuses on scalability and modularity.
Project Structure The project is organized as follows
βββ πclean_rest_golang
βββ πcmd
βββ πapi
βββ main.go
βββ πinfrastructure
βββ πdatabase
βββ πqueries
βββ πproduct
βββ product_repository_query.go
βββ πuser
βββ user_repository_query.go
βββ πhttp
βββ πhandlers
βββ πproduct
βββ product_hander.go
βββ πuser
βββ user_handler.go
βββ πmiddleware
βββ πroutes
βββ product_route.go
βββ status_route.go
βββ user_route.go
βββ router.go
βββ πinternal
βββ πdomain
βββ πentities
βββ inventory_entity.go
βββ order_entity.go
βββ product_entity.go
βββ user_entity.go
βββ πrepositories
βββ product_repository.go
βββ user_repository.go
βββ πusecases
βββ πproduct
βββ product_usacase.go
βββ πuser
βββ user_usecase.go
βββ πmigrations
βββ 20241018233645_add_user_table.down.sql
βββ 20241018233645_add_user_table.up.sql
βββ πpkg
βββ πconfig
βββ config.go
βββ database.go
βββ jwt.go
βββ server.go
βββ πdatabase
βββ πmysql
βββ setup_mysql.go
βββ πutilities
βββ πauth
βββ jwt.go
βββ password_encrypt.go
βββ .air.toml
βββ .dockerignore
βββ .env
βββ .env.example
βββ .gitignore
βββ docker-compose.yml
βββ Dockerfile
βββ go.mod
βββ go.sum
βββ Makefile
βββ README.md
βββ script.sh
# Packages
No description provided by the author
No description provided by the author
No description provided by the author