Skip to content

HideyoshiSolutions/message-hideyoshi.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

message-hideyoshi.com

Made using Rust and Axum, this project was made as contact microservice for the hideyoshi.com project, as so it is responsible for everything related to messaging.

All code in this repo is distributed freely by the GPLv3 License.

Environment Variables

For the execution of this project the following environment variables must be set:

HOST

PORT

ALLOWED_ORIGINS

  • Auth Server:

    AUTH_URL

  • Redis:

    REDIS_HOST

    REDIS_PORT

    REDIS_PASSWORD

  • SMTP:

    SMTP_SERVER

    SMTP_PORT

    SMTP_NAME

    SMTP_EMAIL

    SMTP_USERNAME

    SMTP_PASSWORD

Usage

Building project:

cargo build --release

Executing project:

./target/release/message-hideyoshi-com [option]

options:

  • both - default
  • server
  • worker

API Reference

Send Message

  POST /message

Requires Authorization Bearer Token

Parameter Type Description
subject string Required. Subject of the message
message string Required. Content of the message

Requirements

This projects requires Backend Hideyoshi.com as a Auth Server.

Authors

About

Contact and Messaging MicroService for the Hideyoshi.com Portfolio

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published