Skip to content

aoiorio/VolcanoAPI

Repository files navigation

🌋 VolcanoAPI 🌋


🐥 How do I start?


  • 🦋 Execute these commands
# Create image of volcano-api
$ docker-compose build

# Create pyproject.toml file that writes FastAPI and uvicorn[standard] by using poetry (poetry is like pip) And say yes at every time
$ docker-compose run \
  --entrypoint "poetry init \
    --name volcano-api \
    --dependency fastapi \
    --dependency uvicorn[standard]" \
  volcano-api

# Install dependencies that was written in pyproject.toml file
$ docker-compose run --entrypoint "poetry install --no-root" volcano-api

# Install all dependencies to Docker environment
$ docker-compose build --no-cache

🌳 Folder Structure

└── 📁volcano
    └── __init__.py
    └── 📁api
        └── __init__.py
        └── 📁v1
            └── __init__.py
            └── 📁endpoints
                └── __init__.py
                └── auth.py
                └── todo.py
                └── user.py
            └── routes.py
    └── 📁core
        └── __init__.py
        └── auth_exception.py
        └── config.py
    └── 📁domain
        └── __init__.py
        └── 📁entity
            └── __init__.py
            └── todo.py
            └── user.py
        └── 📁repository
            └── auth.py
            └── todo.py
            └── user.py
    └── 📁infrastructure
        └── __init__.py
        └── 📁postgresql
            └── __init__.py
            └── database.py
            └── 📁dto
                └── __init__.py
                └── todo.py
                └── volcano_user.py
        └── 📁repository
            └── auth.py
            └── todo.py
            └── user.py
    └── main.py
    └── 📁use_case
        └── __init__.py
        └── auth.py
        └── 📁model
            └── auth.py
            └── todo.py
        └── todo.py
        └── user.py

🦕 References




About

This is an API repository for Volcano app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published