Coder Social home page Coder Social logo

tough-dev-ates's Introduction

Introduction

This repository is maintained by me, Anton Bolychev, for educational purposes, specifically for the Async Architecture course.

Repository Overview

This repository is organized into multiple microservices, designed as API-only applications. The microservices included are:

The primary programming language is Python, with Postgres as the database and Nats Jetstream serving as the message broker.

The project heavily relies on the following Python packages:

  • FastAPI: A web framework for building APIs with Python 3.8+, utilizing standard Python type hints.
  • FastStream simplifies the creation of producers and consumers for message queues, providing automatic parsing, networking, and documentation generation.
  • SQLModel is a library for interacting with SQL databases from Python code, with Python objects and designed to be compatible with FastAPI, Pydantic, and SQLAlchemy.

These packages are well-integrated between each other, allowing the main logic to be written in a single file and the application to be launched with a single command:

cd servicename/app
uvicorn --port=YOUR_PORT main:api --reload

Auth Service

The Auth Service implements authentication using JWT tokens.

  • auth/: The primary directory for the Auth Service.
    • auth/app/main.py: The main application file containing the core logic.
    • auth/auth: Directory containing configurations, database models, password hashing functions, and request schemas.

Task Tracker

The Task Tracker manages tasks and their tracking.

Common Library

A separate library is included to provide shared functionality across all services. Currently, it is utilized for authorization and decoding JWT tokens.

tough-dev-ates's People

Contributors

bolychevanton avatar

Watchers

 avatar  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.