Commit Graph

65 Commits

Author SHA1 Message Date
Natthapol Sermsaran
b3b9e82ea5
Merge pull request #3 from ForFarmTeam/feature-farm-setup
Add Farm API for Farm setup
2025-02-14 03:40:54 +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
d6b73c9bb1 feat: add farm and corp setup template 2025-02-14 02:45:31 +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
f3af16a06e
Merge pull request #2 from ForFarmTeam/feature-authen
Add credential authenticaton, axios config to send token in header and hooks
2025-02-14 00:17:00 +07:00
b9b63fc257 chore: fix pnpm lock conflict 2025-02-14 00:15:43 +07:00
e52c003470 Merge branch 'main' into feature-authen 2025-02-14 00:15:03 +07:00
8e836f126c
Merge pull request #1 from ForFarmTeam/feature-farm-setup
Add map and farm setup UI and API + domain, repository
2025-02-14 00:04:05 +07:00
626ad87d88 feat: use cookie instead of localstorage for token 2025-02-14 00:02:49 +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
29c9c4e07a ui: change sidebar style 2025-02-13 23:17:30 +07:00
8c5acc7921 feat: add custom authen hooks and context 2025-02-13 23:17:03 +07:00
ee434d4c5a refac: add loading button - extract fetch function in authen 2025-02-13 23:16:39 +07:00
Buravit Yenjit
8dbc7102ff add domain farm,cropland & update plant 2025-02-13 23:08:16 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
41f194c22a feat: add Google Map with drawing capabilities to setup page 2025-02-13 22:52:51 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
3651e493d2 feat: add Harvest Details form and integrate into setup page 2025-02-13 22:28:48 +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
THIS ONE IS A LITTLE BIT TRICKY KRUB
03c0c34df7 Merge branch 'feature-farm-setup' of https://github.com/ForFarmTeam/ForFarm into feature-farm-setup 2025-02-13 22:13:31 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
e76aca28d3 feat: improve layout of planting and harvest details sections with centered headings and updated form structure 2025-02-13 22:13:24 +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
98d4765e0d feat: add login - sign up submit function 2025-02-13 22:07:38 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
6ee05338ad feat: add Radix UI components for select and switch, and create a reusable textarea component 2025-02-13 22:05:58 +07:00
125a6a7018 feat: add config - username can be null 2025-02-13 22:05:58 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
c70fe5ab99 Merge branch 'feature-farm-setup' of https://github.com/ForFarmTeam/ForFarm into feature-farm-setup 2025-02-13 21:40:34 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
4b9f729cb1 feat: enhance planting details form with additional fields for spacing and depth 2025-02-13 21:40:27 +07:00
Natthapol SERMSARAN
6dbaa09213 Update migration file 00002_create_farm_and_cropland_tables.sql 2025-02-13 21:38:38 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
834a87b1f9 feat: implement planting details form with validation schema 2025-02-13 21:27:57 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
e5291deefc Merge branch 'feature-farm-setup' of https://github.com/ForFarmTeam/ForFarm into feature-farm-setup 2025-02-13 21:13:18 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
efb2251b6c feat: add planting and harvest details schemas 2025-02-13 21:13:07 +07:00
Natthapol SERMSARAN
30324e81b4 feat: add farm, cropland, and plant-related tables with FKs 2025-02-13 21:01:34 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
b6967032ab Update pnpm lock. 2025-02-13 20:40:36 +07:00
126f3754f1 feat: add hello route 2025-02-13 19:35:20 +07:00
a1f9a8afdc refactor: move auth page directory 2025-02-13 05:20:27 +07:00
05dd69e957 feat: add landing page 2025-02-13 05:19:57 +07:00
1c0a42a111 fix: move sidebar to inner layout 2025-02-13 04:04:55 +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
THIS ONE IS A LITTLE BIT TRICKY KRUB
d2bace4825 fix: adjust height of sidebar menu button for better alignment 2025-02-12 19:10:07 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
fc056e9296 Merge branch 'feature-authen' of https://github.com/ForFarmTeam/ForFarm into feature-authen 2025-02-12 19:07:55 +07:00
THIS ONE IS A LITTLE BIT TRICKY KRUB
83a0b698d4 feat: add Sidebar component with theme toggle and navigation items 2025-02-12 19:07:42 +07:00
23ac4e5e60 Merge branch 'feature-authen' of https://github.com/ForFarmTeam/ForFarm into feature-authen 2025-02-12 18:29:13 +07:00
4e8b7044e2 Merge branch 'main' into feature-authen 2025-02-12 18:28:43 +07:00