Commit Graph

103 Commits

Author SHA1 Message Date
21f81e4c78
Merge pull request #34 from ForFarmTeam/documetation-setup
Documetation setup, rewrite dockerfile and compose, manifest and add healthcheck
2025-04-04 23:42:45 +07:00
00700af27f chore: rewrite compose and add manifest file, markdown 2025-04-04 23:41:53 +07:00
1b819e4ed0 feat: add health check endpoint and dummy data 2025-04-04 23:41:29 +07:00
Natthapol SERMSARAN
3f490b9373 Merge branch main into feature-test 2025-04-04 23:27:32 +07:00
Natthapol SERMSARAN
e7f1f7ab1b test: add tests for GetByID in inventory repository 2025-04-04 22:54:49 +07:00
Buravit Yenjit
985e7af835 test: add authentication and JWT test suites 2025-04-04 22:15:13 +07:00
c7896e1c44 feat: add rate limiter 2025-04-04 22:15:12 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
da003a997d fix: update base URL and reduce concurrent users for load test 2025-04-04 22:01:00 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
c0a8a8a6be Merge branch 'main' into feature-test 2025-04-04 21:57:41 +07:00
ad75d0c2af feat: add cache to inventory, harvest, plant 2025-04-04 21:54:54 +07:00
a38ee0df35 fix: show blog in hub page 2025-04-04 21:14:52 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
e9580c3543 Add load testing tool for inventory status endpoint
- Implemented a load testing utility in main.go to simulate concurrent requests to the inventory status endpoint.
- Introduced a Metrics struct to track successes, failures, and response times.
- Added functionality to calculate and print a summary of the load test results, including total requests, success rate, and response time statistics.
- Utilized goroutines and a WaitGroup to handle concurrent HTTP requests efficiently.
2025-04-04 20:49:00 +07:00
aa6d434dfd feat: add setting and profile setting page 2025-04-04 17:12:24 +07:00
9d320ccb2f Merge branch 'main' into feature-farm-setup 2025-04-04 16:38:46 +07:00
75e9032d0d
Merge branch 'main' into feature-inventory 2025-04-04 15:42:05 +07:00
aa87e3e26a
Merge branch 'main' into feature-knowledge-hub 2025-04-04 15:34:22 +07:00
644b3f940d feat: add ability to edit farm and crop 2025-04-04 15:30:50 +07:00
1e6c631be3 fix: fix farm openweather projection 2025-04-04 15:30:21 +07:00
df38e1c9f2 feat: add chatbot endpoint 2025-04-04 15:24:14 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
0ded8e67ac feat: remove unnecessary blank line in API route registration 2025-04-04 14:04:34 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
551fc29572 Merge branch 'feature-knowledge-hub' into feature-inventory 2025-04-04 14:04:22 +07:00
Buravit Yenjit
1dee8e7f97 feat: Update TableOfContent Handler 2025-04-04 01:19:14 +07:00
Buravit Yenjit
5eec21a2b1 feat: add image_url attribute and handle method 2025-04-03 23:36:17 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
63d38fb99d feat: refactor inventory item deletion and editing logic for improved error handling and structure 2025-04-03 21:30:41 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
f037bf766f feat: update inventory item structure and improve error handling 2025-04-03 20:01:44 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
01bc37a136 Merge branch 'feature-farm-setup' into feature-inventory 2025-04-03 18:06:08 +07:00
3100edb097 feat: wire up analytic with frontend 2025-04-03 17:44:48 +07:00
Pattadon
f8390f1ee5 Merge branch 'feature-farm-setup' into feature-inventory 2025-04-03 11:05:22 +07:00
9691b845d9 refactor: use camelCase for frontend api fetch 2025-04-03 10:32:25 +07:00
009cfb10ff feat(api): Update analytics endpoint and wire new components 2025-04-02 18:04:24 +07:00
90ee8ff529 refactor(events): Ensure consistent event publishing across repositories 2025-04-02 17:59:09 +07:00
89a80f7352 feat: Implement FarmAnalyticsProjection service 2025-04-02 17:57:04 +07:00
a4563342b7 feat: Add weather updater worker and update fetcher for OneCall API 2025-04-02 17:52:29 +07:00
5a5683bf94 feat: Implement repository for farm_analytics table 2025-04-02 17:44:18 +07:00
f4813e31b4 feat: Add farm_analytics table and update domain types 2025-04-02 17:40:25 +07:00
07e66c753d feat: add weather fetching service 2025-04-02 13:02:48 +07:00
Natthapol SERMSARAN
0b79b53673 feat: change format field to use camelCase 2025-04-01 21:51:11 +07:00
Natthapol SERMSARAN
0c2f026a5f feat: fix InventoryRoutes to not use UseMiddleware 2025-04-01 21:09:39 +07:00
2c0a628613 migrations: fix conflict in migration files 2025-04-01 18:19:28 +07:00
f8752a94de Merge branch 'main' into feature-farm-setup 2025-04-01 17:42:49 +07:00
d6dc91270e Merge branch 'feature-farm-setup' of https://github.com/ForFarmTeam/ForFarm into feature-farm-setup 2025-04-01 17:14:43 +07:00
Natthapol SERMSARAN
a00111aa07 feat: update main api and add harvestRepo 2025-04-01 15:18:29 +07:00
Natthapol SERMSARAN
022a6e4caa feat: update inventory API for status, category and harvest relations 2025-04-01 15:17:39 +07:00
Natthapol SERMSARAN
b79f3f69f3 feat: implement inventory repository with status and category relations 2025-04-01 15:16:51 +07:00
Natthapol SERMSARAN
6dac03a489 feat: implement harvest units repository 2025-04-01 15:16:18 +07:00
Natthapol SERMSARAN
10bb1a9475 feat: add inventory status, category and units models 2025-04-01 15:15:51 +07:00
Buravit Yenjit
8af97c0150 feat: add CreateRelatedArticle 2025-04-01 14:52:47 +07:00
Pattadon
a254185375 feat: add inventory_category table and update inventory_items structure with category and unit references 2025-04-01 14:11:52 +07:00
Buravit Yenjit
dd86f38b5a feat: add migration for knowledgeHub 2025-04-01 13:42:07 +07:00
Buravit Yenjit
38f01d0fbe feat: add knowledgeHub api 2025-04-01 13:41:06 +07:00