Hexagonal-Architecture
a distributed messaging and payment backend built around the hexagonal architecture
File Explorer
Download Latest Version (.zip)- cd.yml
- ci.yml
- FUNDING.yml
- settings.json
- main.go
- arch.webp
- error_handling.png
- external_integrations.png
- graph.png
- heap.png
- idempotency.png
- kafka.png
- multiplexing.png
- payment.png
- pprof.png
- request_storage.png
- validation.png
- cache.go
- error_handler.go
- login_handler.go
- message_handler.go
- stripe_handler.go
- user_handler.go
- webhook_handler.go
- apiCfg.go
- db.go
- message.go
- payment.go
- user.go
- config.go
- nginx.conf
- model.go
- cache.go
- ports.go
- message.go
- payment.go
- user.go
- log_setup.go
- hex_arch_db_schema.sql
- tcp.go
- benchmark.test
- createUser_test.go
- db_Integration_test.go
- user_integration_test.go
- user_service_test.go
- index.html
- App.css
- App.js
- index.js
- package-lock.json
- package.json
- .gitignore
- COPYING
- dump.rdb
- go.mod
- go.sum
- README.md
- testDB.sh
# Installation Guide
1. Get the code
git clone https://github.com/LordMoMA/Hexagonal-Architecture
Downloads the entire project code from GitHub to your computer.
cd Hexagonal-Architecture
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Homebrew A package manager for macOS/Linux.
brew install hey
Installs the pre-built package via Homebrew โ no source build required.
brew install tcpdump
Installs the pre-built package via Homebrew โ no source build required.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Node.js
EasyPrerequisites
โ ๏ธ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd internal/web
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
4. Go
MediumPrerequisites
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation
Was this content helpful?
(0 ratings)
