2025-12-13 15:17:55 -05:00
2025-12-11 17:29:34 -05:00
2025-11-27 01:01:32 +00:00
2025-11-27 01:01:32 +00:00
2025-11-05 16:50:14 +00:00
2025-11-27 01:01:32 +00:00
2025-12-13 15:17:55 -05:00
2025-12-13 15:17:55 -05:00
2025-10-29 19:07:19 -04:00
2025-11-14 17:56:51 +00:00

textsender-auth

A service that handles the authorization aspect of the textsender project.

Getting started

Assumes that the postgresql database has already been created with privileges to create and drop databases. Copy the .env.sample file to .env. Within the .env file, update the database keys. The SECRET_KEY is used for token generation.

Building api

make build

Resetting the database

./textsender-auth -reset-db

Generate API documentation

go install github.com/swaggo/swag/cmd/swag@latest
go get -u github.com/swaggo/http-swagger/v2

swag init --generalInfo main.go --dir ./cmd/api,./internal/handler --output docs/ --parseDependency --parseInternal

The API documentation can be viewed from http://localhost:9080/swagger/index.html.

S
Description
No description provided
Readme
1.9 MiB
Languages
Rust 99%
Dockerfile 1%