Skip to content

Arithmetic Calculator User API v1.0.0

Choose a tag to compare

@luangrezende luangrezende released this 22 Jul 19:53

🚀 We're excited to announce the first official release of the Arithmetic Calculator User API!

Overview

This release provides a complete serverless microservice for user management, authentication, and account operations within the Arithmetic Calculator ecosystem. Built with AWS Lambda and .NET 8, this API handles all user-related functionality including registration, authentication, and balance management.

Key Features

  • ✅ User Management

    • User registration with secure password hashing
    • User authentication and profile management
    • JWT-based authorization with refresh token support
  • 💰 Account Management

    • Automatic account creation for new users
    • Balance operations (deposit and withdrawal)
    • Currency support
  • 🔒 Security

    • JWT-based authentication with token expiration
    • Refresh token rotation for enhanced security
    • Password hashing with modern algorithms
  • 🏗️ Architecture

    • Clean Architecture design with separation of concerns
    • Fully serverless implementation with AWS Lambda
    • Containerized deployment options with Docker

Technical Details

  • Built on .NET 8
  • Implements Clean Architecture principles
  • MySQL database integration
  • AWS Lambda serverless deployment
  • CI/CD pipeline with GitHub Actions

Getting Started

Check the README.md for detailed setup instructions, including:

  • Local development setup
  • Docker deployment
  • AWS Lambda deployment
  • Environment configuration

API Endpoints

Authentication

  • POST /v1/user/auth/register - Register new user
  • POST /v1/user/auth/login - User login
  • POST /v1/user/auth/refresh - Refresh authentication token
  • POST /v1/user/auth/logout - Logout (invalidate token)

User Profile

  • GET /v1/user/profile - Get authenticated user profile

Account Management

  • POST /v1/user/account/balance - Add funds to account
  • PUT /v1/user/account/balance - Withdraw funds from account

Breaking Changes

None (initial release)

Future Plans

  • Additional authentication providers
  • Multi-factor authentication
  • Account transaction history
  • Performance optimizations
  • Additional currency support

Thank you