Personal project to learn Go. In facts, it's a normal server. But, it's part of learning how to write BFF.
2024/1/8:
- add a get api to fetch data from GaoDe map. (params: ad_code--ad_code for city; extensions--way of forecast)
- add a post api to fetch 24 hours forecast. (params: same as 1)
- add test
2024/1/9:
-
Added benchmark testing – efficiency tested through extensive loop iterations.
-
Debugged and resolved an issue related to accessing a POST API through the frontend: Encountered connection refusal error when attempting to access a completed backend using Retrofit on Android. Forgot to include the expected response body.
2024/1/10:
Implemented grpc server and implemented communication between grpc server and client
2024/1/11:
- Database added. Now bff can access grpc, and grpcsever obtains data from the database and gives it to bff.
- Optimized project structure
- Add test example