Encryptor api is the backend of Encryptor App.
The project was built following REST and the principles of clean architecture .
CompileDaemon:
go get github.com/githubnemo/CompileDaemon
Migrate:
go install -tags 'mysql' github.com/golang-migrate/migrate/v4/cmd/migrate@v4.15.0
Create a .env
file on the root project based on .env.example
.
Create a new migration: migrate -ext sql -dir ./migrations -seq <name>
.
Migrate up: make migrateup
.
Migrate down: make migratedown
.