Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.43 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.43 KB

Encryptor api

Encryptor api is the backend of Encryptor App.

The project was built following REST and the principles of clean architecture .

Technologies

Database

Database ER

Requirements

Go

Docker

Mysql Docker Image

CompileDaemon: go get github.com/githubnemo/CompileDaemon

Migrate: go install -tags 'mysql' github.com/golang-migrate/migrate/v4/cmd/migrate@v4.15.0

Usage

Environment variables

Create a .env file on the root project based on .env.example.

Migrations

Create a new migration: migrate -ext sql -dir ./migrations -seq <name>.

Migrate up: make migrateup.

Migrate down: make migratedown.