GithubHelp home page GithubHelp logo

blackpossum / bank-api-blackpossum Goto Github PK

View Code? Open in Web Editor NEW

This project forked from revou-fsse-3/milestone-4-blackpossum

0.0 0.0 0.0 24 KB

milestone-4-Blackpossum created by GitHub Classroom

Python 35.81% HTML 64.19%

bank-api-blackpossum's Introduction

Review Assignment Due Date

Bank App API

The Bank App API provides backend functionality for managing user accounts, transactions, authentication, and registration in a banking application.

Features

  • User Authentication: Allows users to log in securely using their email and password.
  • User Registration: Enables new users to create accounts by providing their username, email, and password.
  • User Profile Management: Provides endpoints for retrieving, updating, and deleting user profiles.
  • Account Management: Allows users to view their account details, create new accounts, and update or delete existing accounts.
  • Transaction Management: Supports transaction initiation, retrieval of transaction details, and updates to transaction records.

Routes

User Authentication Routes

  • /login: Renders the login page and handles user login requests.
  • /logout: Logs out the currently authenticated user.

User Registration Routes

  • /register: Renders the registration page and handles user registration requests.

User Management Routes

  • /users/me: Retrieves the authenticated user's profile information.
  • /users/<user_id>:
    • PUT: Updates the authenticated user's profile.
    • DELETE: Deletes the authenticated user's profile.

Account Management Routes

  • /accounts:
    • GET: Retrieves the user's accounts.
    • POST: Creates a new account.
  • /accounts/<account_id>:
    • GET: Retrieves details of a specific account.
    • PUT: Updates details of a specific account.
    • DELETE: Deletes a specific account.

Transaction Management Routes

  • /transactions:
    • GET: Retrieves transaction details.
    • POST: Initiates a new transaction.
  • /transactions/<transaction_id>:
    • PUT: Updates details of a specific transaction.

Authentication

  • Authentication is required for certain routes using Flask-Login to manage user sessions.

Data Protection

  • Passwords are hashed using bcrypt for enhanced security.

Error Handling

  • Proper error handling is implemented to provide informative responses for various scenarios.

for more complete request chek in this link api documentation

https://documenter.getpostman.com/view/30816863/2sA358e5ug

bank-api-blackpossum's People

Contributors

blackpossum avatar github-classroom[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.