Skip to content

brunomdev/digital-account

Repository files navigation

Digital Account

Service responsible to deal with accounts and transactions.

Starting

This is a quick guide on how to install and run the project, just follow the next steps.

Requirements

Installation

  1. Clone the repository
git clone git@github.com:brunomdev/digital-account.git
  1. Access the directory created after the clone, copy the file .env.example and rename to .env.
cd digital-account
cp .env.example .env

Information

If necessary change the values of .env.

Executing

To execute the project follow the commands below:

Using docker

docker-compose up -d
# OR
make docker-up

Locally

go mod download
go build -o main .
docker-compose up -d db.digital-account.dev
./main
# OR
make build-and-run

Documentation

With the project running access the url http://localhost:8080/docs to check the API documentation.

Information

Depending of the values on your .env file maybe you need to change the PORT in the url or the url itself.

Executing tests

To execute the tests use the following command:

go test ./...

Main dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages