godate

command module
v0.0.0-...-d785689 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: MIT Imports: 6 Imported by: 0

README

Godate Service

This service is a simple dating app project created with a simple hexagonal architecture and written using Golang.

Contents

Structure Explanation

  • assets: This directory contains static files such as images, css, etc.
  • build: This directory is used to store build of the project.
  • config: This directory contains application configuration such as configuration files, environment variables, etc.
  • internal: This directory contains internal code that should not be accessed by other projects. It includes adapters for external services and the core of the application, which is the main business logic.
  • pkg: This directory contains external code that can be used by other projects.
  • shared: This directory contains code that is shared across multiple parts of the application.

Used technologies

Usage

Running App

Here is the steps to run app with docker compose

# move to directory
$ cd workspace

# clone into YOUR $GOPATH/src
$ git clone https://github.com/dedetia/godate.git

# move to project
$ cd godate

# build & run the application
$ make run

# check if the containers are running
$ docker ps

# stop
$ make stop
Testing

Use the following script to run unit tests

make test

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg
shared
mock/repository
Package repository is a generated GoMock package.
Package repository is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL