Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.79 KB

README.md

File metadata and controls

56 lines (42 loc) · 1.79 KB

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