Skip to content

API Service to manage odoo inventory resupply from a Mobile App

Notifications You must be signed in to change notification settings

josuablejeru/odoo-resupply-api

Repository files navigation

Odoo Inventory Resupply API

this api is a small demo app to see how a stock resupply Mobile app might work for a small Mom & Pop's shop using Odoo.

Architecture

architecture_diagram

This is WIP for now and the target architecture and always subject to change!

The Resupply API interacts with Odoo via Hasura. Because of this, no major modification or modules have to be made for Odoo. I recommend using Keycloak as a OIDC provider to make things simple, but it can also be used only for the Inventory Resupply App.

Tools used

  • Spring Boot / Spring Security
  • Postgres
  • Swagger UI / OpenAPI 3.0
  • docker compose
  • testcontainers
  • liquidbase / hibernate

swaggerui

Docker Compose

services:
  postgres:
    image: 'postgres:latest'
    environment:
      - 'POSTGRES_DB=mydatabase'
      - 'POSTGRES_PASSWORD=secret'
      - 'POSTGRES_USER=myuser'
    ports:
      - '5432:5432'

  backend:
    image: ghcr.io/josuablejeru/resupply-api:latest
    ports:
      - '8090:8090'

Development

Endpoints:

About

API Service to manage odoo inventory resupply from a Mobile App

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages