Skip to content

jonathanch7/go-modern-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Modern Api

Go Modern Api example whit: Clean architecture, Hexagonal architecture, CQRS

Environment Variables

  • SERVICE_PORT: Port for deployment.
  • DB_USER: Database user.
  • DB_PASSWORD: Database password.
  • DB_SCHEMA: Database schema.

Run

  • For local development execution use the command make rundev, this commands uses .dev.env file.

Test

To run the tests use the commands:

  • Unit tests: make unittests.
    • Unit tests with coverage: make unittestscover.
    • Unit tests with coverage in HTML: make unittestscoverHTML.
  • End-to-End tests: make e2etests, this test uses .e2e.env file.
  • All tests: make tests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published