Skip to content

Backend service for SmartPay, built with ASP.NET Core Web API. Handles business logic, data access, authentication, and RESTful endpoints for the platform.

Notifications You must be signed in to change notification settings

prodotnet/SmartPay-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’³ SmartPay: ASP.NET Core Web API

A secure backend API for the SmartPay mobile wallet, built using ASP.NET Core 9.0. This API provides the necessary services for handling user authentication, transaction management, Safe Mode activation, and more.


πŸ“Œ Project Overview

The SmartPay Web API serves as the backend for the SmartPay Mobile App and Web App. It handles user authentication, wallet management, transactions, voice recognition triggers for Safe Mode, and silent alerts. The API is designed with security in mind, utilizing industry-standard practices for handling sensitive data.


🚨 Key Features

  • πŸ” User Authentication: Secure JWT authentication for users.
  • πŸ’° Wallet Management: Users can view their wallet balance, transaction history, and perform transfers.
  • πŸ›‘ Safe Mode Activation: Trigger Safe Mode via voice recognition or panic phrase.
  • πŸ“© Silent Alerts: Sends silent alerts to predefined contacts when Safe Mode is triggered.
  • πŸ” Secure PIN System: Dual PIN authentication β€” one for login, one for Safe Mode exit.
  • πŸ“ Transaction History: View past transactions, with support for filtering and sorting.
  • πŸ›  Admin Panel: Admin can monitor users and transactions in real-time.

🧠 Tech Stack

  • Backend: ASP.NET Core 9.0 (C#)
  • Authentication: JWT Tokens, Secure PIN System
  • Database: SQL Server / Azure SQL
  • Voice Recognition: Integration with the mobile app using Vosk API (for Safe Mode trigger)

API Test: Postman

For testing all the API endpoints, Postman was used to ensure proper functionality and smooth interactions with the SmartPay API. Postman was chosen as the tool for the following reasons:

  • Easy to Use: With a simple user interface for sending requests, viewing responses, and managing collections of API calls.
  • Environment Management: Supports managing variables (like JWT tokens) in environments, making repeated testing seamless.
  • Collection Sharing: Allows exporting the API collection for sharing or reusing requests.

The SmartPay API Postman Collection has been pre-configured with all the essential endpoints for testing the API. You can import this collection into your Postman and start testing right away.


πŸš€ Project Status

  • βœ… Authentication endpoints (login, JWT token management) complete
  • βœ… Wallet endpoints (balance, transaction) working
  • πŸ”œ Voice recognition integration for Safe Mode (via mobile app)
  • πŸ”œ Database schema updates (transactions, Safe Mode flags)
  • πŸ”œ Admin panel for monitoring and reporting
  • πŸ”œ Demo video & live deployment coming soon

About

Backend service for SmartPay, built with ASP.NET Core Web API. Handles business logic, data access, authentication, and RESTful endpoints for the platform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages