Day la phan frontend cua du an AppReading, duoc xay dung bang Expo Router va React Native. Ung dung phuc vu cac luong chinh nhu dang nhap, xem truyen, doc chuong, binh luan, chat cong dong, nap Stone va khu vuc admin.
- Node.js 18+
- npm 9+
- Expo CLI hoac
npx expo
npm installnpm run startLenh nay mo Expo dev server. Tu day ban co the chon:
a: mo Android emulatorw: mo web- quet QR de chay bang Expo Go
Hoac chay truc tiep:
npm run android
npm run webApp doc API URL tu bien:
EXPO_PUBLIC_API_URL=https://app-reading-backend.onrender.com/apiHay dam bao backend dang chay va bien nay trung voi cong backend that su ban dang dung.
npm run lint
npm run typecheckApp da co cau hinh EAS Build:
eas build --platform android --profile preview
eas build --platform android --profile productionapp/: cac man hinh theo Expo Router.components/: UI component tai su dung.context/: auth, theme, toast va state dung chung.services/: cac ham goi API va xu ly du lieu.assets/: icon, splash, hinh anh.
- Admin screen hien nam trong ung dung nay tai
app/admin. - Chat realtime su dung Socket.IO.
- Thanh toan top-up su dung luong mo phong VNPay sandbox.
- README tong the cua toan du an nam o thu muc goc:
../README.md.