Simple and not at all janky authentication backend using MongoDB and Gin gonic
Im new to the Go programming language, please do not judge my horrible code :3
⭐ Features:
- App Support
- Users
- Basic User Profiles
✅ Todo
- Basic auth system
- Basic user profiles
- Finish app system
- User profile widgets
- User profile themes
- Finish docs
- 2FA
POST /register
Registers an account
Sample body:
{
"username": "TRASH",
"password": "12345",
"handle": "trash",
"email": "[email protected]"
}
Response:
Content-Type: application/json
error
: false if there is no errror, true if there is one
message
: the response message
Note: these docs are still WIP
This is an example config
{
"mongodb_url": "mongodb://127.0.0.1",
"port": 8080,
"resend_key": "xxxxxxx"
}
The main instance of uwu-auth is hosted at auth.trashdev.org
✨🎀 Its very kawaii :3