Skip to content

Commit e243bc3

Browse files
authored
connect web-app to @fineract/client v1.0.4 (#2592)
1 parent 883a925 commit e243bc3

File tree

6 files changed

+701
-1028
lines changed

6 files changed

+701
-1028
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ cypress/
6060
src/assets/env.js
6161
src/environments/.env.ts
6262

63-
# Ignore OpenAPI generated client code
64-
/packages/fineract-clients
65-
6663
# Node and build artifacts
6764
/node_modules
6865
/dist

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,11 @@ Choose ONE of the following methods to install the web app:
7575
```
7676
npm install
7777
```
78-
6. Generate the Fineract API client from the OpenAPI spec:
79-
```
80-
npm run generate:fineract-client
81-
```
82-
7. Start the development server:
78+
6. Start the development server:
8379
```
8480
ng serve
8581
```
86-
8. Access the application at `http://localhost:4200/`
82+
7. Access the application at `http://localhost:4200/`
8783

8884
#### Method 2: Docker Container Only
8985

@@ -129,13 +125,10 @@ When using the development server with basic authentication:
129125
## Development Commands
130126

131127
- **Serve application:** `ng serve`
132-
- **Generate / update Fineract API client:** `npm run generate:fineract-client`
133128
- **Generate new component:** `ng generate component component-name`
134129
- **Build for production:** `ng build --configuration production` or `npm run build:prod`
135130
- **Get Angular CLI help:** `ng help`
136131

137-
**Note:** `The script generate:fineract-client will regenerate the OpenAPI‑based TypeScript client under packages/fineract-clients using the fineract.yaml definition. Run it whenever the backend API changes.`
138-
139132
## Configuration Options
140133

141134
### Environment Variables for Docker

0 commit comments

Comments
 (0)