Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 1.82 KB

README.md

File metadata and controls

55 lines (42 loc) · 1.82 KB

Ara API

Restful API for Ara, KAIST's official community service

GitHub Pipenv locked Python version (master) Code style: black Imports: isort pre-commit Conventional Commits

Project Setup

Use pipenv to install packages. (e.g., pipenv install <package>)

pipenv --python 3.11 # Use python 3.11
pipenv shell # Activate virtual environment
pipenv install --dev # Install packages (`--dev` flag for development)

# Run `pre-commit` automatically on `git commit`
pre-commit install
pre-commit install --hook-type commit-msg

How to Run

docker compose -f docker-compose.local.yml up -d
pipenv shell
make run

URLs

  • Base URL: /api
  • Admin page: /api/admin/
  • API documentations:
    • /api/schema/swagger/
    • /api/schema/redoc/

How to Contribute

  1. Follow Conventional Commits for writing commit messages.
  2. Use type hints strictly. (Check PEP 484.)