GithubHelp home page GithubHelp logo

budfi-backend-v1's Introduction

FastAPI Project

Description

This project is a FastAPI application that serves as a backend API for a web application. It provides various endpoints for user authentication, budget management, expense tracking, peer-to-peer lending, payments, notifications, and more.

Features

  • User Authentication: Endpoints for user registration, login, and profile management.
  • Budget Management: CRUD operations for budget categories and expenses.
  • Expense Tracking: Endpoints for managing user expenses and categories.
  • Peer-to-Peer Lending: Functionality for requesting, accepting, and rejecting loans.
  • Payments: Endpoints for sending payments, canceling payments, and viewing payment details.
  • Notifications: API endpoints for managing user notifications.
  • Dashboard: Overview data for user dashboards.

Technologies Used

  • FastAPI: A modern, fast web framework for building APIs with Python.
  • PostgreSQL: A powerful, open-source relational database.
  • SQLAlchemy: An ORM (Object-Relational Mapping) library for database interactions.
  • Pydantic: Data validation and settings management using Python type annotations.
  • JWT (JSON Web Tokens): Token-based authentication for securing API endpoints.
  • Docker: Containerization for easy deployment and scaling.
  • GitHub Actions: Continuous Integration/Continuous Deployment (CI/CD) for automated testing and deployment.
  • pytest: Testing framework for unit and integration tests.
  • Faker: Library for generating fake data for testing and seeding.

Getting Started

Prerequisites

  • Python 3.x
  • Docker (optional)

Installation

  1. Clone the repository:
git clone https://github.com/isaacoduh/budfi-backend-v1.git
  1. Install Dependencies
cd budfi-clone
pip install -r requirements.txt
  1. Setup Environment File

  2. Run the application

uvicorn app.main:app --host 0.0.0.0 --port 8000
  1. Docker
docker-compose up -d

Usage

  • Access the API documentation and interact with the endpoints using the Swagger uI at http://localhost:8000/docs or the ReDoc UI at http://localhost:8000/redoc.
  • Use API endpoints to perform various operations such as user authentication, budget management, expense tracking etc.

Testing

pytest

budfi-backend-v1's People

Watchers

Isaac Oduh 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.