Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 854 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 854 Bytes

Divar API Backend

A minimal clone of Divar backend with FastAPI.

Divar is the largest Persian marketplace where you can sell and buy things.

Installation

git clone https://github.com/khodealib/DivarAPI
cd DivarAPI
docker compose up -d --build

Manual

git clone https://github.com/khodealib/DivarAPI
cd DivarAPI
python -m virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
alembic upgrade head
python main.py

Configuration

1 - Create .env file from sample.env.

2 - Change .env configurations variable and run again application.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT