alemanoelsilva / sticker

A Go lang backend application to make commitments and stick to it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sticker

A Go lang backend application to make commitments and stick to it.

MindMap

A simple MindMap describing the endpoints behavior.

Basic Configuration

Create a .env file with

DB_STRING="a connection mysql string as `user:pas@tcp(127.0.0.1:3306)/db`"
PORT="application HTTP port"
JWT_TOKEN="jwt token"
MINUTES_TO_JWT_EXPIRE=60

MIGRATION_PATH="migration path"

MYSQL_ROOT_PASSWORD="db root password"
MYSQL_DATABASE="database name"
MYSQL_USER="user name"
MYSQL_PASSWORD="user password"

Running

To run locally run docker-compose up --build

Testing

[TODO]

About

A Go lang backend application to make commitments and stick to it


Languages

Language:Go 95.4%Language:Makefile 2.4%Language:Dockerfile 2.1%