Skip to content

Feat/farm api#1

Draft
pedroosz wants to merge 5 commits into
mainfrom
feat/farm-api
Draft

Feat/farm api#1
pedroosz wants to merge 5 commits into
mainfrom
feat/farm-api

Conversation

@pedroosz

@pedroosz pedroosz commented Dec 7, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

- Create new Farm API microservice using Bun and Elysia framework
- Add Dockerfile with multi-stage build for production deployment
- Implement database schema with Drizzle ORM for farms, farm items, and farm item types
- Add initial migration for farm_api schema with tables and relationships
- Create BalanceService to integrate with Balance API
- Add health check endpoint and OpenAPI documentation support
- Include migration
…' and 'db-migration-service' to 'database-migrator' for consistency

- Update docker-compose.yml to rename postgres-db service to database and db-migration-service to database-migrator
- Add farm-migrator and farm-api services to docker-compose with proper database dependencies
- Update all references in documentation and configuration files to use new service names
- Modify .env.example to reflect database host name change
- Update setup
- Add FARM_API_URL configuration pointing to farm-api service on port 8081
- Add FARM_API_SCHEMA configuration for database schema name
@pedroosz pedroosz self-assigned this Dec 7, 2025
… to 'database' for consistency

- Update DB_HOST default value in challenge_api README.md documentation
- Change spring.datasource.url default host in application.properties
- Update docker-compose.yml dependencies for challenge-api and challenge-migrator services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant