Skip to content

hizinberg/pair-programming-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Pair Programming Backend

This repository contains the backend for the Pair Programming project, built with FastAPI and Python.
Follow the instructions below to set up the project locally.


πŸš€ Installation & Setup

1. Clone the Repository

git clone https://github.com/hizinberg/pair-programming-backend/
cd pair-programming-backend

🐍 Virtual Environment Setup

2. Create a Virtual Environment

python -m venv pair-programming-venv

3. Activate the Virtual Environment

Windows

pair-programming-venv\Scripts\activate

macOS / Linux

source pair-programming-venv/bin/activate

πŸ“¦ Install Dependencies

4. Install Required Packages

pip install -r requirements.txt

▢️ Run the FastAPI Server

5. Start the Development Server

Run this command inside the backend directory:

uvicorn app.main:app --reload --host 0.0.0.0 --port 8000

The server will start on:

πŸ‘‰ http://localhost:8000

You can view the interactive API docs at:


πŸ“ Project Structure

pair-programming-backend/
│── app/
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ routers/
β”‚   β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ db.py
β”‚   β”œβ”€β”€ logger.py
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ models.py
β”‚   └── schemas.py
│── requirements.txt
└── README.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages