How dowork0711/recipeplease works
RecipePlease is a recipe-sharing and commerce product with a React Native mobile client, a Spring Boot backend, and a legacy JavaScript web client. The primary flow is discovering or uploading recipes, then accessing paid recipe content through internal coins; a separate goods-shopping flow uses card payment. The backend also supports accounts, favorites, ratings, and purchase history. Backend call edges follow sampled controller/service relationships and the source index; client-to-server wiring and unsampled goods paths are not verified, so those links are marked dashed.
Main entry points: dao MyBatis data access · MainNavigator.tsx App navigation · RecipeHomeScreen.tsx Recipe browsing · GoodsHomeScreen.tsx Goods shopping
Components 24
Mobile experience
- Mobile shell
Frontend/App.tsx - App navigation
Frontend/src/screens/MainNavigator.tsx - Login and account
Frontend/src/mypage/Login.tsx - Recipe browsing
Frontend/src/recipe/RecipeHomeScreen.tsx - Recipe detail
Frontend/src/recipe/RecipeDetailScreen.tsx - Recipe upload
Frontend/src/mypage/mypageScreens/RecipeUpload.tsx - Goods shopping
Frontend/src/goods/GoodsHomeScreen.tsx - Goods detail
Frontend/src/goods/GoodsDetail.tsx - Goods checkout
Frontend/src/goods/payment/Payment.tsx
Web experience
- Web experience
FrontWeb/FrontWeb/WebContent/js/detail/listing.js
Backend services
- Recipe API
Backend/src/main/java/com/recipe/a/controller/RecipeController.java - Member API
Backend/src/main/java/com/recipe/a/controller/MembersController.java - Coin API
Backend/src/main/java/com/recipe/a/controller/CoinTransactionController.java - Payment API
Backend/src/main/java/com/recipe/a/controller/PaymentController.java - Goods API
Backend/src/main/java/com/recipe/a/controller/GoodsController.java - Recipe services
Backend/src/main/java/com/recipe/a/service/RecipeService.java - Member services
Backend/src/main/java/com/recipe/a/service/MembersService.java - Coin transactions
Backend/src/main/java/com/recipe/a/service/CoinTransactionService.java - Goods payments
Backend/src/main/java/com/recipe/a/service/PaymentService.java - Goods services
Backend/src/main/java/com/recipe/a/service/GoodsService.java
Persistence
- MyBatis data access
Backend/src/main/java/com/recipe/a/dao - MySQL database
Other components
- App user
- Card payment
Connections 28
- App user → Mobile shell: uses
- Mobile shell → App navigation: renders
Frontend/App.tsx - App user → Web experience: uses
- App navigation → Login and account: routes to
- App navigation → Recipe browsing: routes to
- App navigation → Goods shopping: routes to
- Recipe browsing → Recipe detail: opens
- App user → Recipe upload: uploads
- App user → Goods detail: shops
- Goods shopping → Goods detail: opens
- Goods detail → Goods checkout: proceeds to
- Login and account → Member API: requests account
- Recipe browsing → Recipe API: requests recipes
- Recipe upload → Recipe API: submits recipe
- Goods shopping → Goods API: requests goods
- Goods checkout → Payment API: submits purchase
- Goods checkout → Card payment: pays by card
- Recipe API → Recipe services: delegates
Backend/src/main/java/com/recipe/a/controller/RecipeController.java - Member API → Member services: delegates
Backend/src/main/java/com/recipe/a/controller/MembersController.java - Coin API → Coin transactions: delegates
Backend/src/main/java/com/recipe/a/controller/CoinTransactionController.java - Payment API → Goods payments: delegates
Backend/src/main/java/com/recipe/a/controller/PaymentController.java - Recipe services → MyBatis data access: queries
Backend/src/main/java/com/recipe/a/service/RecipeService.java - Member services → MyBatis data access: queries
Backend/src/main/java/com/recipe/a/service/MembersService.java - Coin transactions → MyBatis data access: updates coins
Backend/src/main/java/com/recipe/a/service/CoinTransactionService.java - Goods payments → MyBatis data access: records purchases
Backend/src/main/java/com/recipe/a/service/PaymentService.java - Goods API → Goods services: delegates
- Goods services → MyBatis data access: queries
Backend/src/main/java/com/recipe/a/service/GoodsService.java - MyBatis data access → MySQL database: persists data