Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/faisalsaifii/juspay-testing
https://github.com/faisalsaifii/juspay-testing
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/faisalsaifii/juspay-testing
- Owner: faisalsaifii
- Created: 2023-10-23T08:27:19.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-25T10:51:14.000Z (6 months ago)
- Last Synced: 2024-11-05T21:17:36.765Z (2 months ago)
- Language: C++
- Size: 340 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Juspay Testing App (Flutter)
## Running the server
- Install the dependencies
```zsh
npm i
```- Replace the constant values with your credentials in the `.env.sample` file and rename it to `.env`
- Dev Environment (Hot Reloading)
```zsh
npm run dev
```- Without Hot Reloading
```zsh
npm start
```- Making the server accessible by client ( + Monitoring network). Download NGROK: https://dashboard.ngrok.com/get-started/setup
```
ngrok http 5002
```- Replace the link provided by `ngrok` in `/app/lib/utils/data.dart`
## Running the app
- Changing the dir
```zsh
cd app/
```- Installing dependencies
```zsh
flutter pub get
```- Running the app
```zsh
flutter run
```## Testing payment page for different ClientIDs
- You will have to replace the clientIDs in the following DIRs (Do a global search and replace the default clientid: `ipec`):
- `/.env`
- `/app/android/build.gradle`
- `/app/ios/merchantConfig.txt`
- `/app/lib/screens/home.dart`