Commit Graph

45 Commits

Author SHA1 Message Date
Natthapol SERMSARAN
10bb1a9475 feat: add inventory status, category and units models 2025-04-01 15:15:51 +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
Pattadon
7d8fd6e10f feat: create inventory_status table and modify inventory_items to use status_id 2025-04-01 11:06:50 +07:00
Natthapol SERMSARAN
0a1320805c feat: add user to inventory and update api 2025-04-01 03:52:01 +07:00
Natthapol SERMSARAN
54c8fd433c feat: add user to inventory domain 2025-04-01 03:51:42 +07:00
Natthapol SERMSARAN
5a373b5f2b feat: add user to inventory repository 2025-04-01 03:51:31 +07:00
Natthapol SERMSARAN
b39ddfba6f feat: add user to inventory_items table in migration file 2025-04-01 03:51:06 +07:00
Natthapol SERMSARAN
41e5b1fb81 feat: create inventory_items table migration 2025-03-29 19:17:46 +07:00
Natthapol SERMSARAN
860181d983 feat: add inventory routes and handlers to api.go 2025-03-29 19:16:51 +07:00
Natthapol SERMSARAN
64098b5d10 feat: add inventory api 2025-03-29 19:13:15 +07:00
Natthapol SERMSARAN
4ed46f9ba5 feat: add inventory repository for query logic 2025-03-29 19:12:46 +07:00
Natthapol SERMSARAN
044a2856cf feat: add inventory domain 2025-03-29 19:11:22 +07:00
9cc07b32df feat: add user generation logic to oauth login 2025-03-12 15:06:25 +07:00
69fa65ccf1 feat: add validation of input data in auth 2025-03-12 14:57:45 +07:00
5b77d27dcb feat: add google oauth 2025-03-09 23:22:49 +07:00
8f6488a70d feat: add api to fetch user profile data 2025-02-14 08:03:35 +07:00
dd94c24918 refac: drop plantTypes from farms 2025-02-14 06:40:26 +07:00
3df25a7c2f feat: add plant query api 2025-02-14 06:34:34 +07:00
Natthapol SERMSARAN
e5e89cb2e1 Merge branch main into feature-crop-management 2025-02-14 03:48:42 +07:00
Buravit Yenjit
01a417bdfb feat: add cropland api 2025-02-14 03:34:12 +07:00
Natthapol SERMSARAN
2130f8c8a5 fix: update go.mod 2025-02-14 03:33:10 +07:00
Natthapol SERMSARAN
f3ded0f687 feat: add farm api for farm setup 2025-02-14 03:05:24 +07:00
8d0f4c43a2 fix: fix missing secret key 2025-02-14 02:21:42 +07:00
11b1d25992 Merge branch 'main' into feature-farm-setup 2025-02-14 00:31:52 +07:00
e52c003470 Merge branch 'main' into feature-authen 2025-02-14 00:15:03 +07:00
Natthapol SERMSARAN
e1ac5af5a6 Merge branch 'feature-farm-setup' into feature-crop-management 2025-02-13 23:56:15 +07:00
Buravit Yenjit
54afcdb8b7 feat:add repository/postgres_plant.go 2025-02-13 23:49:05 +07:00
Natthapol SERMSARAN
c58e7b9504 feat: add farm repository 2025-02-13 23:31:15 +07:00
Natthapol SERMSARAN
deb008cf3f feat: add cropland repository 2025-02-13 23:31:09 +07:00
Natthapol SERMSARAN
de1813b83c feat: add delete for domain cropland and farm 2025-02-13 23:30:43 +07:00
Buravit Yenjit
8dbc7102ff add domain farm,cropland & update plant 2025-02-13 23:08:16 +07:00
Buravit Yenjit
1839f8dfc0 feat: add domain plant 2025-02-13 22:18:50 +07:00
6fbabde002 chore: tidy go mod 2025-02-13 22:17:03 +07:00
Natthapol SERMSARAN
c38397659c feat: add domain farm 2025-02-13 22:09:58 +07:00
Natthapol SERMSARAN
da20126888 feat: add domain cropland 2025-02-13 22:09:50 +07:00
125a6a7018 feat: add config - username can be null 2025-02-13 22:05:58 +07:00
Natthapol SERMSARAN
6dbaa09213 Update migration file 00002_create_farm_and_cropland_tables.sql 2025-02-13 21:38:38 +07:00
Natthapol SERMSARAN
30324e81b4 feat: add farm, cropland, and plant-related tables with FKs 2025-02-13 21:01:34 +07:00
126f3754f1 feat: add hello route 2025-02-13 19:35:20 +07:00
ea754c9aef feat: add authentication endpoint 2025-02-13 03:14:26 +07:00
0acf3ea83d feat: add GetByEmail, make username nullable 2025-02-13 03:13:38 +07:00
b9419287e7 fix: fix migration via args failed 2025-02-12 18:02:45 +07:00
d96378a5eb refac: remove unused var in user 2025-02-12 17:21:51 +07:00
bf14542b43 feat: add air, huma, db setup and migrations 2025-02-12 16:20:01 +07:00
cd0ed1b05a feat: setup backend-frontend-db and compose 2025-02-11 02:26:38 +07:00