Categorygithub.com/kolibriee/users-rest-api
module
0.0.0-20241124231728-3b1073190e3f
Repository: https://github.com/kolibriee/users-rest-api.git
Documentation: pkg.go.dev

# README

Users REST API

This is a REST API for managing users and their data, built using the Echo framework. The application supports user registration, authentication, and admin management of user accounts.

Features

  • User registration and authentication
  • Admin functionality for user management (create, update, delete, and delete users)
  • Secure user data handling
  • Swagger API documentation for easy exploration of endpoints (http://host:port/swagger/*)

Build

docker-compose build:

docker-compose up --build

Initial Admin User Upon starting the application, an admin user is automatically initialized with the following credentials:

Username: admin
Password: admin

DB diagram: https://dbdiagram.io/d/users-rest-api-66fa9f64f9b1444815e7863a

DB migration: https://github.com/golang-migrate/migrate

.env:

DB_PASSWORD=
DB_HOST=
DB_PORT=
DB_USERNAME=
DB_DBNAME=
DB_SSLMODE=disable
PASSWORD_HASH_SALT=
TOKEN_SECRET_KEY=

# Packages

No description provided by the author
Package docs Code generated by swaggo/swag.
No description provided by the author