Article service is one of many service in the notelify application. It has all business logic for the articles logic. Exposes APIs that get consumed by other services Build using Go programming language, Postgres, Redis for data storage. The Article service makes use of the Hexagonal architecture for better code testing, easy code modification.
│ ├── config
│ │ └── config.go
│ ├── Dockerfile
│ ├── go.mod
│ ├── go.sum
│ ├── internal
│ │ ├── adapters
│ │ │ ├── app
│ │ │ │ ├── controllers.go
│ │ │ │ ├── controllers_test.go
│ │ │ │ └── handler.go
│ │ │ ├── logger
│ │ │ │ └── standardLogger.go
│ │ │ └── repository
│ │ │ ├── dynamodb
│ │ │ │ └── dynamodb.go
│ │ │ ├── postgres
│ │ │ │ └── postgres.go
│ │ │ └── s3
│ │ │ └── s3.go
│ │ └── core
│ │ ├── domain
│ │ │ └── domain.go
│ │ ├── ports
│ │ │ └── ports.go
│ │ └── services
│ │ ├── services.go
│ │ └── service_test.go
│ ├── LICENSE
│ ├── main.go
│ ├── Makefile
│ └── README.md
- cd notelify-articles-service
- go mod tidy
- make serve-dev
- Open your browser or API client like Postman and navigate to http://localhost:8001 to access the appliction API end points
- cd notelify-articles-service
- docker build -t notelify-article-service .
- docker run -p 8001:8001 -d notelify-article-service
- Open your browser or API client like Postman and navigate to http://localhost:8001 to access the appliction API end points
- docker stop $(docker ps -aq --filter ancestor=notelify-article-service)
- docker rm $(docker ps -aq --filter ancestor=notelify-article-service)