hestia

command module
v0.0.0-...-4b127fe Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: MIT Imports: 14 Imported by: 0

README

Hestia

Goddess of the hearth, home, domesticity, family, and the state

Actions codecov Go Report GoDocs

Hestia is a microservice API for safe using firebase auth and firestore

Deploy

Docker

To deploy to docker, simply pull the image

docker pull kindynos/hestia:latest

Run the docker image

docker run -p 8080:8080 --env-file .env kindynos/hestia:latest 

Building

To run Hestia from the source code, first you need to install golang, follow this guide:

https://golang.org/doc/install

To run Hestia simply clone de repository:

git clone https://github.com/grupokindynos/hestia 

Install dependencies

go mod download

Make sure the port is configured under en enviroment variable PORT=8080

Running flags

-local

Set this flag to change from production database to testing database.

API Reference

Documentation: API Reference

Testing

Run:

go test ./ -coverprofile=coverage.txt -covermode=atomic
go test ./models -coverprofile=models/coverage.txt -covermode=atomic
go test ./controllers -coverprofile=controllers/coverage.txt -covermode=atomic
sed '1d' ./models/coverage.txt >> ./coverage.txt &&
sed '1d' ./controllers/coverage.txt >> ./coverage.txt

Contributing

To contribute to this repository, please fork it, create a new branch and submit a pull request.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
processor
services

Jump to

Keyboard shortcuts

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