Skip to content

CIAT-DAPA/ganabosques_search_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

226 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

#๐Ÿฎ Ganabosques Search API GitHub release (latest by GitHub tag (latest by

##๐Ÿ“Œ Description Ganabosques Search API is a backend service designed to support search and retrieval operations within the Ganabosques platform. This API is built using FastAPI and follows a modular architecture.

##๐Ÿ—๏ธ Project Structure ganabosques_search_api/ โ”‚ โ”œโ”€โ”€ src/ โ”‚ โ”œโ”€โ”€ main.py โ”‚ โ”œโ”€โ”€ auth/ โ”‚ โ”œโ”€โ”€ routes/ โ”‚ โ”œโ”€โ”€ services/ โ”‚ โ”œโ”€โ”€ models/ โ”‚ โ””โ”€โ”€ requirements.txt โ”‚ โ”œโ”€โ”€ tests/ โ”œโ”€โ”€ .github/workflows/ โ””โ”€โ”€ README.md

##โš™๏ธ Requirements Python 3.10+ pip

##๐Ÿš€ Installation

    git clone https://github.com/CIAT-DAPA/ganabosques_search_api.git
    cd ganabosques_search_api
    python -m venv env

Activate: Linux/Mac:

    source env/bin/activate

Windows:

    env\Scripts\activate

Install dependencies:

    pip install -r src/requirements.txt

##โ–ถ๏ธ Running the API

    uvicorn src.main:app --reload

Docs: - http://127.0.0.1:8000/docs - http://127.0.0.1:8000/redoc

##๐Ÿงช Testing

    PYTHONPATH=. pytest tests/

or

    python -m unittest discover tests

About

Ganabosques API

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages