Skip to content

JonasBakys0/Affinity-backend

 
 

Repository files navigation

Affinity Backend

Introduction

This repository contains the backend for the Affinity project, built using the Axum framework in Rust. The backend manages API requests and communicates with a PostgreSQL database, ensuring high performance and scalability.

Tech Stack

  • Language: Rust
  • Framework: Axum
  • Database: PostgreSQL
  • Containerization: Docker
  • CI/CD: Github Actions ,Jenkins, Docker Compose

Setup

Prerequisites

Make sure you have the following installed:

Installation

  1. Clone the repository:
    git clone https://github.com/Sidharth-Singh10/Affinity-backend
    cd Affinity-backend
  2. Build and run the backend:
    cargo build
    cargo run
    

Running in Docker

The dockerfile is incomplete, add env accordingly. The docker-compose is incomplete. database url does not feed into the backend env

Running in K8

helm install <app-name> ./hell_charts does the work without setting up a database. Configure values.json before running the command.

Contributing

Read CONTRIBUTING.md

Affinity Project

  1. Architecture (deprecated)

image 2. Links

  • Frontend: https://github.com/rishyym0927/Affinity_frontend

Our Valuable Contributors ❤️✨

Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 73.1%
  • Shell 21.3%
  • Handlebars 3.5%
  • Python 1.2%
  • Dockerfile 0.9%