Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ads Bot API

A FastAPI-based backend for managing classified ads via a chat interface (e.g., Telegram).
Supports categories, file attachments, comments, and MongoDB as the data store.


How to Launch the API

1. Clone or download the project

Unzip the archive or clone the repository.

2. Open terminal and navigate to the project folder:

cd api

3. Create a virtual environment (Python 3.11 required):

py -3.11 -m venv .venv

4. (Optional) Allow script execution (for PowerShell):

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

5. Activate the virtual environment:

.venv\Scripts\Activate.ps1

6. Install required dependencies:

pip install -r requirements.txt

7. Go back to root folder:

cd ..

8. Run the FastAPI server:

python -m uvicorn api.main:app --reload

API Documentation

Once the server is running, visit:


About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages